[ARVADOS-DEV] updated: 7c797619a3bf856a5f3cee92fb40722c6e771336

git at public.curoverse.com git at public.curoverse.com
Thu Aug 28 15:25:05 EDT 2014


Summary of changes:
 jenkins/run-tests.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

       via  7c797619a3bf856a5f3cee92fb40722c6e771336 (commit)
      from  38770e0e9fd272061c2bf80ee8bcce25c2611e6a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 7c797619a3bf856a5f3cee92fb40722c6e771336
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Aug 28 15:21:31 2014 -0400

    Fix $leave_temp in clear_temp() no issue #

diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh
index 37c7ba9..b93aa92 100755
--- a/jenkins/run-tests.sh
+++ b/jenkins/run-tests.sh
@@ -171,11 +171,14 @@ title () {
 }
 
 clear_temp() {
-    if [[ -n "$t" && -z "$leave_temp" ]]
+    if [[ -z "$leave_temp" ]]
     then
         for t in "$VENVDIR" "$GOPATH"
         do
-            rm -rf "$t"
+            if [[ -n "$t" ]]
+            then
+                rm -rf "$t"
+            fi
         done
     else
         echo "Leaving VENVDIR=\"$VENVDIR\""

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list