diff options
Diffstat (limited to 'extras/vagrant')
-rwxr-xr-x | extras/vagrant/build.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/extras/vagrant/build.sh b/extras/vagrant/build.sh index 34873f96eae..fcfd52aa707 100755 --- a/extras/vagrant/build.sh +++ b/extras/vagrant/build.sh @@ -72,12 +72,14 @@ fi # Build and install packaging $SUDOCMD make bootstrap -if [ $DISTRIB_ID == "Ubuntu" ]; then +if [ "$DISTRIB_ID" == "Ubuntu" ]; then $SUDOCMD make pkg-deb -elif [ $DISTRIB_ID == "debian" ]; then +elif [ "$DISTRIB_ID" == "debian" ]; then $SUDOCMD make pkg-deb -elif [ $DISTRIB_ID == "CentOS" ]; then +elif [ "$DISTRIB_ID" == "CentOS" ]; then (cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a) $SUDOCMD make pkg-rpm +elif [ "$DISTRIB_ID" == "opensuse" ]; then + $SUDOCMD make build-release fi |