summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorlenz@mysql.com <>2004-05-13 18:50:09 +0200
committerlenz@mysql.com <>2004-05-13 18:50:09 +0200
commitb1f2932fff656fecc020283dee9bf7ecbb4bace6 (patch)
tree3fb12146b7de164bbba7f5c14c64498900dab88b /scripts
parent17d5da7e33c44057345d984d15d0270e3316d666 (diff)
downloadmariadb-git-b1f2932fff656fecc020283dee9bf7ecbb4bace6.tar.gz
- make sure the binaries are executable before calling them during
make_binary_distribution (bug#2857)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_binary_distribution.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh
index c7945e31eda..730086bbb62 100644
--- a/scripts/make_binary_distribution.sh
+++ b/scripts/make_binary_distribution.sh
@@ -221,6 +221,7 @@ $CP mysql-test/t/*test mysql-test/t/*.opt mysql-test/t/*.slave-mi mysql-test/t/*
$CP mysql-test/r/*result mysql-test/r/*.require $BASE/mysql-test/r
if [ $BASE_SYSTEM != "netware" ] ; then
+ chmod a+x $BASE/bin/*
$CP scripts/* $BASE/bin
$BASE/bin/replace \@localstatedir\@ ./data \@bindir\@ ./bin \@scriptdir\@ ./bin \@libexecdir\@ ./bin \@sbindir\@ ./bin \@prefix\@ . \@HOSTNAME\@ @HOSTNAME@ < $SOURCE/scripts/mysql_install_db.sh > $BASE/scripts/mysql_install_db
$BASE/bin/replace \@prefix\@ /usr/local/mysql \@bindir\@ ./bin \@MYSQLD_USER\@ root \@localstatedir\@ /usr/local/mysql/data \@HOSTNAME\@ @HOSTNAME@ < $SOURCE/support-files/mysql.server.sh > $BASE/support-files/mysql.server