From b587e79bc921b94032e40af7bbb54e807fcacee0 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Mon, 26 Oct 2009 17:01:05 +0200 Subject: [PATCH 1/2] Added symbolic link to from scripts/mysql_install_db to bin to address a documented problem Test if libexec exists, to go around problem if configure was done with --libexecdir=/usr/local/mysql/bin --- scripts/make_binary_distribution.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh index 9595a56ef62..0f35270b4e8 100644 --- a/scripts/make_binary_distribution.sh +++ b/scripts/make_binary_distribution.sh @@ -293,11 +293,6 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then fi fi - # FIXME let this script be in "bin/", where it is in the RPMs? - # http://dev.mysql.com/doc/refman/5.1/en/mysql-install-db-problems.html - mkdir $DEST/scripts - mv $DEST/bin/mysql_install_db $DEST/scripts/ - # Note, no legacy "safe_mysqld" link to "mysqld_safe" in 5.1 # Copy readme and license files @@ -330,18 +325,25 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then # # Move things to make them easier to find in tar installation # - mv $DEST/libexec/* $DEST/bin + + # The following test is needed if the original configure was done with + # something like --libexecdir=/usr/local/mysql/bin + if test -f $DEST/libexec/mysqld + then + mv $DEST/libexec/* $DEST/bin + rmdir $DEST/libexec + fi mv $DEST/share/man $DEST mv $DEST/share/mysql/binary-configure $DEST/configure mv $DEST/share/mysql/*.sql $DEST/share mv $DEST/share/mysql/*.cnf $DEST/share/mysql/*.server $DEST/share/mysql/mysql-log-rotate $DEST/support-files - rmdir $DEST/libexec # # Move some scripts that are only run once to 'scripts' directory # but add symbolic links instead to old place for compatibility # - for i in mysql_secure_installation mysql_fix_extensions mysql_fix_privilege_tables + mkdir $DEST/scripts + for i in mysql_secure_installation mysql_fix_extensions mysql_fix_privilege_tables mysql_install_db do mv $DEST/bin/$i $DEST/scripts ln -s "../scripts/$i" $DEST/bin/$i From 182aa542bccc15c60ff0f897303f4b54910a3b44 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Fri, 30 Oct 2009 13:50:48 +0300 Subject: [PATCH 2/2] Dummy change to push the release tag. --- win/make_mariadb_win_dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/make_mariadb_win_dist b/win/make_mariadb_win_dist index 8893159bd20..9d0b3b26af3 100644 --- a/win/make_mariadb_win_dist +++ b/win/make_mariadb_win_dist @@ -66,7 +66,7 @@ ls -lah $ZIPFILE echo "$ZIPFILE is the Windows noinstall binary zip" if [ $RES ] ; then - echo "Archive contents differ from the standard file list, check the diff output above" + echo "Archive contents differ from the standard file list, check the diff output above" else echo "Archive contents match the standard list, OK" fi