diff options
author | unknown <mwagner@ultrafly.mysql.com> | 2005-05-09 14:57:45 +0200 |
---|---|---|
committer | unknown <mwagner@ultrafly.mysql.com> | 2005-05-09 14:57:45 +0200 |
commit | 8dffe2cdc626218afb009e0a077f267557ef75de (patch) | |
tree | 7caae5d1c6d27cb4d51f8ea7627f725aac5a0d7c /scripts | |
parent | 17297898c503b30055d98552ad4ef8f2b19d94bd (diff) | |
download | mariadb-git-8dffe2cdc626218afb009e0a077f267557ef75de.tar.gz |
make_binary_distribution.sh:
- Add --machine override
scripts/make_binary_distribution.sh:
- Add --machine override
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/make_binary_distribution.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh index 48461135b44..1f28b8e4538 100644 --- a/scripts/make_binary_distribution.sh +++ b/scripts/make_binary_distribution.sh @@ -15,6 +15,7 @@ MV="mv" STRIP=1 DEBUG=0 SILENT=0 +MACHINE= TMP=/tmp SUFFIX="" NDBCLUSTER= @@ -26,6 +27,7 @@ parse_arguments() { --tmp=*) TMP=`echo "$arg" | sed -e "s;--tmp=;;"` ;; --suffix=*) SUFFIX=`echo "$arg" | sed -e "s;--suffix=;;"` ;; --no-strip) STRIP=0 ;; + --machine) MACHINE=`echo "$arg" | sed -e "s;--machine=;;"` ;; --silent) SILENT=1 ;; --with-ndbcluster) NDBCLUSTER=1 ;; *) @@ -38,6 +40,8 @@ parse_arguments() { parse_arguments "$@" + + #make # This should really be integrated with automake and not duplicate the @@ -310,6 +314,11 @@ system=`echo $system | sed -e 's/linux-gnu/linux/g'` 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 +fi + # Change the distribution to a long descriptive name NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-$version-$system-$machine$SUFFIX |