summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild-root/vagrant/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/vagrant/build.sh b/build-root/vagrant/build.sh
index e500240be59..76838e28a62 100755
--- a/build-root/vagrant/build.sh
+++ b/build-root/vagrant/build.sh
@@ -68,7 +68,7 @@ $SUDOCMD make bootstrap
if [ $DISTRIB_ID == "Ubuntu" ]; then
$SUDOCMD make pkg-deb
elif [ $DISTRIB_ID == "CentOS" ]; then
- (cd $VPP_DIR/vnet ;aclocal; automake -a)
+ (cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a)
$SUDOCMD make pkg-rpm
fi