Преглед изворни кода

(patch) [ci skip] installs dir not being removed in CB

Nate Brady пре 8 година
родитељ
комит
ad31d66662
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      toolset/continuous/run-continuously.sh

+ 1 - 1
toolset/continuous/run-continuously.sh

@@ -28,7 +28,7 @@ do
   # Hold on to the benchmark.cfg it it exists
   echo Tearing down and rebuilding the environment
   cp $TFB_REPOPARENT/$TFB_REPONAME/benchmark.cfg $TFB_REPOPARENT/benchmark.cfg 2>/dev/null
-  rm -rf $TFB_REPOPARENT/$TFB_REPONAME
+  sudo rm -rf $TFB_REPOPARENT/$TFB_REPONAME
   cd $TFB_REPOPARENT
   git clone -b $TFB_REPOBRANCH $TFB_REPOURI $TFB_REPOPARENT/$TFB_REPONAME
   # Replace the benchmark.cfg