From 863c4277ac9212d165ad5fbde7a9c7bbbaa3c996 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 17 Jul 2013 10:42:03 +0200 Subject: [PATCH] Quote strings to be empty tested --- id-deb-build/id-pbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4