summaryrefslogtreecommitdiff
path: root/BUILD/SETUP.sh
diff options
context:
space:
mode:
authorunknown <eric@mysql.com>2005-09-16 18:10:36 -0700
committerunknown <eric@mysql.com>2005-09-16 18:10:36 -0700
commit0031af068580d29c718f34f0f1f1dbceceacf2aa (patch)
treed906c588802468feddfbcdf4588bc03f6627ae81 /BUILD/SETUP.sh
parent7e138425f7c4d28c90b0a134ec112b03892bc974 (diff)
downloadmariadb-git-0031af068580d29c718f34f0f1f1dbceceacf2aa.tar.gz
Brian's "he is too lazy to commit this so Eric is going to have to do it" environmental variable hack for prefix. This allows you to just set a prefix in your profile which will be used in all of your builds. AKA you can be even lazier(!) about calling BUILD scripts. Don't blame Eric, Brian borrowed his keyboard.
BUILD/SETUP.sh: Added option to set environmental variable in case you are lazy about setting prefix (ala Brian) BUILD/autorun.sh: Change of syntax
Diffstat (limited to 'BUILD/SETUP.sh')
-rwxr-xr-xBUILD/SETUP.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 1603cfadbed..1bf3bad5abe 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -10,6 +10,11 @@ prefix_configs="--prefix=/usr/local/mysql"
just_print=
just_configure=
full_debug=
+if test -n $MYSQL_BUILD_PREFIX
+then
+ prefix_configs="--prefix=$MYSQL_BUILD_PREFIX"
+fi
+
while test $# -gt 0
do
case "$1" in