VPP-504: Permissions Error on Centos Vagrant VPP VM
[vpp.git] / build-root / vagrant / build.sh
index e500240..76838e2 100755 (executable)
@@ -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