diff options
author | matt@mysql.com <> | 2005-05-18 03:45:01 +0200 |
---|---|---|
committer | matt@mysql.com <> | 2005-05-18 03:45:01 +0200 |
commit | 4dca62401c9c6d351562f73a64ea3a2b869f1b87 (patch) | |
tree | 1f40e727d4d84df3b76ae22e27c358c76612979b /scripts | |
parent | 56fa40e558851eed58b87a0a29c09008e8a80595 (diff) | |
download | mariadb-git-4dca62401c9c6d351562f73a64ea3a2b869f1b87.tar.gz |
make_binary_distribution.sh:
Use portable check for empty string.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/make_binary_distribution.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh index 1f28b8e4538..d273e67ec01 100644 --- a/scripts/make_binary_distribution.sh +++ b/scripts/make_binary_distribution.sh @@ -315,8 +315,8 @@ system=`echo $system | sed -e 's/solaris2.\([0-9]*\)/solaris\1/g'` system=`echo $system | sed -e 's/sco3.2v\(.*\)/openserver\1/g'` # Use the override --machine if present -if [ $MACHINE != "" ] ; then - machine= $MACHINE +if [ -n $MACHINE ] ; then + machine=$MACHINE fi # Change the distribution to a long descriptive name |