summaryrefslogtreecommitdiff
path: root/BUILD/autorun.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/autorun.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/autorun.sh')
-rwxr-xr-xBUILD/autorun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/autorun.sh b/BUILD/autorun.sh
index 47a80a709a8..f5986720b48 100755
--- a/BUILD/autorun.sh
+++ b/BUILD/autorun.sh
@@ -7,7 +7,7 @@ aclocal || die "Can't execute aclocal"
autoheader || die "Can't execute autoheader"
# --force means overwrite ltmain.sh script if it already exists
# Added glibtoolize reference to make native OSX autotools work
-if [ -f /usr/bin/glibtoolize ] ; then
+if test -f /usr/bin/glibtoolize ; then
glibtoolize --automake --force || die "Can't execute glibtoolize"
else
libtoolize --automake --force || die "Can't execute libtoolize"