summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts/fedora-smoke.sh
diff options
context:
space:
mode:
authorDeepshikha khandelwal <dkhandel@redhat.com>2019-07-15 14:27:26 +0530
committerDeepshikha khandelwal <dkhandel@redhat.com>2019-07-15 14:27:26 +0530
commit0d6b1f896a76aaf32794dd6ec60606a49080eddb (patch)
tree5ac0ddb8808e62e7b5612a0dec16f5012e1fd549 /build-gluster-org/scripts/fedora-smoke.sh
parent5a75e4556b0ff3f7911356ac9e92ec154e856f63 (diff)
Add sudo when creating nad cleaning up the directories
Change-Id: If7f8f193fbbf539476011589a68a8ed0961f2b11 Signed-off-by: Deepshikha khandelwal <dkhandel@redhat.com>
Diffstat (limited to 'build-gluster-org/scripts/fedora-smoke.sh')
-rw-r--r--build-gluster-org/scripts/fedora-smoke.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-gluster-org/scripts/fedora-smoke.sh b/build-gluster-org/scripts/fedora-smoke.sh
index b24b939..6c5e594 100644
--- a/build-gluster-org/scripts/fedora-smoke.sh
+++ b/build-gluster-org/scripts/fedora-smoke.sh
@@ -7,10 +7,10 @@ nproc=$(getconf _NPROCESSORS_ONLN)
./autogen.sh;
P=/build;
-rm -rf $P/scratch;
-mkdir -p $P/scratch;
+sudo rm -rf $P/scratch;
+sudo mkdir -p $P/scratch;
cd $P/scratch;
-rm -rf $P/install;
+sudo rm -rf $P/install;
$SRC/configure --prefix=$P/install --with-mountutildir=$P/install/sbin \
--with-initdir=$P/install/etc --localstatedir=/var \
--enable-debug --enable-gnfs --silent