diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-04-11 20:09:26 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-04-11 20:09:26 +0000 |
commit | d8535cdddacf8b3856e1bffe1fd69ab708f34ff4 (patch) | |
tree | dffea3221ce9f274df685bdb5ebeb3e1b1c59797 | |
parent | 6f25f8bbce7496372c4fb3d2c726451819c3a2d6 (diff) |
BUILD : 1.7.8 (659) BUGS : N/A NOTES : dbgen script will now accept a blank sql pass if you tell it too...
git-svn-id: svn://svn.anope.org/anope/trunk@659 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@507 5417fbe8-f217-4b02-8779-1006273d7864
-rwxr-xr-x | src/bin/mydbgen | 4 | ||||
-rw-r--r-- | version.log | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/mydbgen b/src/bin/mydbgen index a251b9512..d19042f56 100755 --- a/src/bin/mydbgen +++ b/src/bin/mydbgen @@ -65,12 +65,14 @@ echo "What is your MySQL password?" echo $n "-> $c" stty -echo echonl read cc +SQLPASS_PREFIX="" if [ ! -z "$cc" ] ; then + SQLPASS_PREFIX="-p" SQLPASS=$cc fi stty $OLD_TTY -mysqlshow -h$SQLHOST -u$SQLUSER >/dev/null 2>&1 +mysqlshow -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS >/dev/null 2>&1 if test "$?" = "1" ; then echo "Error: Unable to login, verify your login/password and hostname" exit diff --git a/version.log b/version.log index 48c0d7dc0..4c53e9c37 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="8" -VERSION_BUILD="658" +VERSION_BUILD="659" # $Log$ # +# BUILD : 1.7.8 (659) +# BUGS : N/A +# NOTES : dbgen script will now accept a blank sql pass if you tell it too... +# # BUILD : 1.7.8 (658) # BUGS : 658 # NOTES : Applied qa patch for bug 658 |