summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2001-12-10 13:26:31 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2001-12-10 13:26:31 +0000
commit1756908145a6aa11d79335c2845df8e65e4734a6 (patch)
tree2124194880e75b2bc4a1013f02c8c2f135ec9e39 /autogen.sh
parentc85396cd9e5df4251bfe5415caa3a4dd71a7dfbf (diff)
more "" around variables
Original commit message from CVS: more "" around variables
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 938995cf4..336e46d57 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,7 +10,7 @@ if test "x$1" = "x-d"; then echo "DEBUG output wanted."; DEBUG=defined; fi
debug ()
# print out a debug message if DEBUG is a defined variable
{
- if test ! -z $DEBUG
+ if test ! -z "$DEBUG"
then
echo "DEBUG: $1"
fi
@@ -50,8 +50,8 @@ version_check ()
pkg_major=`echo $pkg_version | cut -d. -f1`
pkg_minor=`echo $pkg_version | cut -d. -f2`
pkg_micro=`echo $pkg_version | cut -d. -f3`
- test -z $pkg_minor && pkg_minor=0
- test -z $pkg_micro && pkg_micro=0
+ test -z "$pkg_minor" && pkg_minor=0
+ test -z "$pkg_micro" && pkg_micro=0
debug "found major $pkg_major minor $pkg_minor micro $pkg_micro"
@@ -71,7 +71,7 @@ version_check ()
fi
fi
- if test ! -z $WRONG; then
+ if test ! -z "$WRONG"; then
echo
echo "You must have $PACKAGE $VERSION or greater to compile $package."
echo "Get the latest version from $URL"