aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/vagrant/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/vagrant/build.sh')
-rwxr-xr-xbuild-root/vagrant/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-root/vagrant/build.sh b/build-root/vagrant/build.sh
index aecb1d64..8695b030 100755
--- a/build-root/vagrant/build.sh
+++ b/build-root/vagrant/build.sh
@@ -47,8 +47,8 @@ make UNATTENDED=yes install-dep
# Really really clean things up so we can be sure
# that the build works even when switching distros
-make wipe
-(cd build-root/;make distclean)
+$SUDOCMD make wipe
+(cd build-root/;$SUDOCMD make distclean)
rm -f build-root/.bootstrap.ok
if [ $DISTRIB_ID == "CentOS" ]; then