Commit 7a19e76c authored by unknown's avatar unknown

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.
parent ad8ff141
...@@ -10,7 +10,7 @@ prefix_configs="--prefix=/usr/local/mysql" ...@@ -10,7 +10,7 @@ prefix_configs="--prefix=/usr/local/mysql"
just_print= just_print=
just_configure= just_configure=
full_debug= full_debug=
if test -n $MYSQL_BUILD_PREFIX if test ! -z $MYSQL_BUILD_PREFIX
then then
prefix_configs="--prefix=$MYSQL_BUILD_PREFIX" prefix_configs="--prefix=$MYSQL_BUILD_PREFIX"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment