[tor-commits] [tor-browser-bundle/hardened-builds] Don't shift unconditionally.
gk at torproject.org
gk at torproject.org
Fri Aug 19 11:05:10 UTC 2016
commit c1d4e1f132cbe239b6586b456822017a5276f7ad
Author: Linus Nordberg <linus at torproject.org>
Date: Fri Aug 19 13:00:17 2016 +0200
Don't shift unconditionally.
---
tools/continuous-builds/park-nightly.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tools/continuous-builds/park-nightly.sh b/tools/continuous-builds/park-nightly.sh
index 944e3a1..dff87e2 100755
--- a/tools/continuous-builds/park-nightly.sh
+++ b/tools/continuous-builds/park-nightly.sh
@@ -7,8 +7,11 @@ if [ "$1" = "-v" ]; then
shift
fi
-DESTDIR=$1; shift
-[ -z "$DESTDIR" ] && DESTDIR=~/public_html/builds
+DESTDIR=~/public_html/builds
+if [ -n "$DESTDIR" ]; then
+ DESTDIR=$1
+ shift
+fi
do_check() {
SAVEDPWD=$PWD
More information about the tor-commits
mailing list