diff options
author | unknown <patg@krsna.patg.net> | 2005-09-26 18:51:27 -0700 |
---|---|---|
committer | unknown <patg@krsna.patg.net> | 2005-09-26 18:51:27 -0700 |
commit | ab31ba213b15ad3a1ec2b09454be0eae52a455d9 (patch) | |
tree | 129188bb9a4c9a98057887488b43a1c9158291d8 /BUILD | |
parent | 10a92d857fa8723d04ff5f6a076921100121f47a (diff) | |
download | mariadb-git-ab31ba213b15ad3a1ec2b09454be0eae52a455d9.tar.gz |
BUG #13511
Fixed SETUP.sh to not overwrite prefix_configs, making 'make install'
install in "/"
BUILD/SETUP.sh:
BUG #13511
test -n is for testing if a FILE is zero length! Plus, if the value is zero,
we don't want to set it to that value, we want to leave it as it was
already set. We _want_ to set it _if_ it is _not_ zero. Changed to "! -z",
which is for testing strings.
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/SETUP.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 4c8a8839bdf..c86687bf03b 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -10,7 +10,7 @@ prefix_configs="--prefix=/usr/local/mysql" just_print= just_configure= full_debug= -if test -n $MYSQL_BUILD_PREFIX +if test ! -z $MYSQL_BUILD_PREFIX then prefix_configs="--prefix=$MYSQL_BUILD_PREFIX" fi |