diff options
author | unknown <monty@donna.mysql.com> | 2001-01-21 21:57:30 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-01-21 21:57:30 +0200 |
commit | 2becf0962b817b69939dc1ff60b5d869871c2966 (patch) | |
tree | b3c06052757605b4259922953d77d01b110d841e /scripts/make_binary_distribution.sh | |
parent | b93a8ed4c29bd483eaed7b7f6e8fec5f0255bc4e (diff) | |
download | mariadb-git-2becf0962b817b69939dc1ff60b5d869871c2966.tar.gz |
Fix new bugs in make_binary_distribution
scripts/make_binary_distribution.sh:
Fixed some bugs that I had introduced in last push
Diffstat (limited to 'scripts/make_binary_distribution.sh')
-rw-r--r-- | scripts/make_binary_distribution.sh | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh index 3f8e497e511..a63c985913b 100644 --- a/scripts/make_binary_distribution.sh +++ b/scripts/make_binary_distribution.sh @@ -10,9 +10,17 @@ version=@VERSION@ export machine system version SOURCE=`pwd` +# Debug option must come first +DEBUG=0 +if test x$1 = x"--debug" +then + DEBUG=1 + shift 1 +fi + # Save temporary distribution here (must be full path) TMP=/tmp -if test $# -gt 0 -a x$1 != x"-debug" +if test $# -gt 0 then TMP=$1 shift 1 @@ -20,18 +28,12 @@ fi # Get optional suffix for distribution SUFFIX="" -if test $# -gt 0 -a x$1 != x"-debug" +if test $# -gt 0 then SUFFIX=$1 shift 1 fi -if test x$1 = x"-debug" -then - DEBUG=1 - shift 1 -fi - #make @@ -69,11 +71,12 @@ do if [ -f $i ] then cp -p $i $BASE/bin - strip $BASE/bin fi done +strip $BASE/bin/* for i in sql/mysqld.sym.gz +do if [ -f $i ] then cp -p $i $BASE/bin @@ -100,8 +103,7 @@ rm -f $BASE/share/mysql/Makefile* $BASE/share/mysql/*/*.OLD cp -p mysql-test/mysql-test-run mysql-test/install_test_db $BASE/mysql-test/ cp -p mysql-test/README $BASE/mysql-test/README cp -p mysql-test/include/*.inc $BASE/mysql-test/include -cp -p mysql-test/std_data/*.dat mysql-test/std_data/*.frm \ - mysql-test/std_data/*.MRG $BASE/mysql-test/std_data +cp -p mysql-test/std_data/*.dat $BASE/mysql-test/std_data cp -p mysql-test/t/*.test mysql-test/t/*.opt $BASE/mysql-test/t cp -p mysql-test/r/*.result mysql-test/r/*.require $BASE/mysql-test/r |