Commit 8f640b62 authored by Jonathan Perkin's avatar Jonathan Perkin

bug#30954: "configure" script in binary distributions considered harmfull

Add --help option.
parent 6e8dea64
#!/bin/sh #!/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 if test ! -x ./scripts/mysql_install_db
then then
echo "I didn't find the script './scripts/mysql_install_db'." echo "I didn't find the script './scripts/mysql_install_db'."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment