diff options
author | Jonathan Perkin <jperkin@sun.com> | 2009-09-28 17:32:14 +0100 |
---|---|---|
committer | Jonathan Perkin <jperkin@sun.com> | 2009-09-28 17:32:14 +0100 |
commit | 54631d6168c12fec47ad8d6ce01a0c53418993df (patch) | |
tree | 6347c8f4971678e763724eae2c2a299be29cf6c9 /support-files | |
parent | 134441342e1374e648a8e5266ac666d0d465870a (diff) | |
parent | f4d20df9dcb2078cb8b0cc465bad4c541b7f2f38 (diff) | |
download | mariadb-git-54631d6168c12fec47ad8d6ce01a0c53418993df.tar.gz |
Merge up to mysql-5.1-bugteam
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'." |