VPP-504: Permissions Error on Centos Vagrant VPP VM 04/3504/3
authorBilly McFall <bmcfall@redhat.com>
Thu, 20 Oct 2016 12:50:11 +0000 (08:50 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Sat, 22 Oct 2016 02:45:04 +0000 (02:45 +0000)
Change-Id: I5e63538e0ba2395fb13f99f0c7c2ca3123a34e59
Signed-off-by: Billy McFall <bmcfall@redhat.com>
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