diff options
author | unknown <matt@mysql.com> | 2005-05-18 03:45:01 +0200 |
---|---|---|
committer | unknown <matt@mysql.com> | 2005-05-18 03:45:01 +0200 |
commit | 37e5df797cd986ccffc4f998ff1cd1d3e0cb8aab (patch) | |
tree | 1f40e727d4d84df3b76ae22e27c358c76612979b /scripts | |
parent | afaa3c8923288aaaa41f8f519bbc96f3b72b1d50 (diff) | |
download | mariadb-git-37e5df797cd986ccffc4f998ff1cd1d3e0cb8aab.tar.gz |
make_binary_distribution.sh:
Use portable check for empty string.
scripts/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 |