[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/master] Don't shift unconditionally.
commit 0b888ea05c97153c40a02b4c676d5291f9b3b4c8
Author: Linus Nordberg <linus@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits