summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-14 12:25:39 +0400
committerAlexander Nozdrin <alik@sun.com>2009-10-14 12:25:39 +0400
commitca08f10ccd20213ad2ac1fa19f19cd7dfbcc5d7d (patch)
tree1b3260f72106f50b182546dff41127a389144fa1 /support-files
parent946dc457facc58517e9c47f1c5ad0029e529da79 (diff)
parent32e51de7f58d6f3e82c97fe9ab37d8d8246b762b (diff)
downloadmariadb-git-ca08f10ccd20213ad2ac1fa19f19cd7dfbcc5d7d.tar.gz
Manual merge from mysql-trunk-merge.
Diffstat (limited to 'support-files')
-rw-r--r--support-files/binary-configure.sh24
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'."