[tor-commits] [tor-browser-bundle/master] Fix incorrect empty string tests.
mikeperry at torproject.org
mikeperry at torproject.org
Wed Jul 10 16:02:49 UTC 2013
commit 5d7b7732cebaef440dc10c739f0c0450bbdcf954
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Wed Jul 10 08:56:41 2013 -0700
Fix incorrect empty string tests.
---
gitian/fetch-inputs.sh | 2 +-
gitian/record-inputs.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gitian/fetch-inputs.sh b/gitian/fetch-inputs.sh
index f1bdc92..8c9f6fa 100755
--- a/gitian/fetch-inputs.sh
+++ b/gitian/fetch-inputs.sh
@@ -9,7 +9,7 @@ umask 0022
export WRAPPER_DIR=$PWD
-if [ -n $1 ]; then
+if [ -z "$1" ]; then
INPUTS_DIR=$PWD/../../gitian-builder/inputs
else
INPUTS_DIR=$1
diff --git a/gitian/record-inputs.sh b/gitian/record-inputs.sh
index fd67a4c..4e723b0 100755
--- a/gitian/record-inputs.sh
+++ b/gitian/record-inputs.sh
@@ -4,7 +4,7 @@
WRAPPER_DIR=$PWD
-if [ -n $1 ]; then
+if [ -z "$1" ]; then
INPUTS_DIR=$PWD/../../gitian-builder/inputs
else
INPUTS_DIR=$1
More information about the tor-commits
mailing list