aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build_dpdk1802.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build_dpdk1802.sh')
-rwxr-xr-xscripts/build_dpdk1802.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build_dpdk1802.sh b/scripts/build_dpdk1802.sh
index 1ed84bb..5686e82 100755
--- a/scripts/build_dpdk1802.sh
+++ b/scripts/build_dpdk1802.sh
@@ -70,10 +70,10 @@ sudo yum install -y libpcap-devel python-sphinx inkscape
echo "generate the rpm package"
rpmbuild -ba dpdk.spec --define "_sourcedir ${PWD}"
if [ $? -eq 0 ]; then
- echo "rpm build success"
+ echo "dpdk rpm build success"
else
- echo "rpm build error"
- exit
+ echo "dpdk rpm build error"
+ exit 1
fi
echo "install the rpm"