diff --git a/autobuild.sh b/autobuild.sh index 686543f109..dae0a5018d 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -133,12 +133,13 @@ function build_native_dpdk() { wget https://github.com/karlatec/dpdk/commit/3219c0cfc38803aec10c809dde16e013b370bda9.patch -O dpdk-pci.patch wget https://github.com/karlatec/dpdk/commit/adf8f7638de29bc4bf9ba3faf12bbdae73acda0c.patch -O dpdk-qat.patch else - wget https://github.com/karlatec/dpdk/commit/f95e331be3a1f856b816948990dd2afc67ea4020.patch -O dpdk-pci.patch wget https://github.com/karlatec/dpdk/commit/6fd2fa906ffdcee04e6ce5da40e61cb841be9827.patch -O dpdk-qat.patch fi git config --local user.name "spdk" git config --local user.email "nomail@all.com" - git am dpdk-pci.patch + if [[ -f dpdk-pci.patch ]]; then + git am dpdk-pci.patch + fi git am dpdk-qat.patch fi