Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

making verbosity for mysql toggle-able (kind of).

  • Loading branch information...
commit 2148f52fbcee25f83eff9c1633cf66555498743b 1 parent 9f3a918
@jzacsh authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 drupalsh
View
4 drupalsh
@@ -32,6 +32,8 @@ dcvs() {
#prep your local for cozy use.
#@TODO: this is broken; fix during the port
cozy_local() {
+ local vb='--verbose'
+
if [[ $1 = '-h' || $1 = '--help' ]];then
echo -e "usage \`$FUNCNAME [password, [db_name, ...] ]\`
sets the password for your drupal admin users" >&2
@@ -76,7 +78,7 @@ cozy_local() {
#actual work
for db in ${databases[@]}; do
for query in "${queries[@]}"; do
- mysql --verbose -u root --password=root --database="${db}" -e "$query"
+ mysql "${vb}" -u root --password=root --database="${db}" -e "$query"
done
done
}
Please sign in to comment.
Something went wrong with that request. Please try again.