From: Adam Dickmeiss Date: Wed, 17 Jul 2013 08:42:03 +0000 (+0200) Subject: Quote strings to be empty tested X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=863c4277ac9212d165ad5fbde7a9c7bbbaa3c996;p=git-tools-moved-to-github.git Quote strings to be empty tested --- diff --git a/id-deb-build/id-pbuild.sh b/id-deb-build/id-pbuild.sh index 50c06ef..8e131a6 100755 --- a/id-deb-build/id-pbuild.sh +++ b/id-deb-build/id-pbuild.sh @@ -58,7 +58,7 @@ while test $# -gt 0; do shift done -if test -n $DEBIAN_DIST_A -o -n $UBUNTU_DIST_A -o -n $CENTOS_DIST_A; then +if test "$DEBIAN_DIST_A" -o "$UBUNTU_DIST_A" -o "$CENTOS_DIST_A"; then DEBIAN_DIST=$DEBIAN_DIST_A UBUNTU_DIST=$UBUNTU_DIST_A CENTOS_DIST=$CENTOS_DIST_A