diff options
author | Alexander Nozdrin <alik@sun.com> | 2009-10-13 13:42:38 +0400 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2009-10-13 13:42:38 +0400 |
commit | 0f51423532cac99ae28928e4b267a9a80c0b89f7 (patch) | |
tree | e56ffd06670e5f719dc7c91ca477eb50aa578a24 /support-files | |
parent | 3dcbeb36b4aa8362165218cdeb5cd7ba761a0dff (diff) | |
parent | 23bdf0d805026b220061487688f0cb2d2b272975 (diff) | |
download | mariadb-git-0f51423532cac99ae28928e4b267a9a80c0b89f7.tar.gz |
Merge from mysql-5.1.
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/binary-configure.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/support-files/binary-configure.sh b/support-files/binary-configure.sh index 884a8363e22..5e6d62f69a0 100644 --- a/support-files/binary-configure.sh +++ b/support-files/binary-configure.sh @@ -1,4 +1,28 @@ #!/bin/sh + +SCRIPT_NAME="`basename $0`" + +usage() +{ + echo "Usage: ${SCRIPT_NAME} [--help|-h]" + echo "" + echo "This script creates the MySQL system tables and starts the server." +} + +for arg do + case "$arg" in + --help|-h) + usage + exit 0 + ;; + *) + echo "${SCRIPT_NAME}: unknown option $arg" + usage + exit 2 + ;; + esac +done + if test ! -x ./scripts/mysql_install_db then echo "I didn't find the script './scripts/mysql_install_db'." |