From c184af2fc22ae2dd1613eefe46d63a5335be80aa Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Fri, 4 Jul 2014 16:17:28 +0200 Subject: [PATCH] mysql accept no argument BEFORE --defaults-file --- install/upgrade_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/upgrade_check.sh b/install/upgrade_check.sh index 19e5b637..02775acf 100755 --- a/install/upgrade_check.sh +++ b/install/upgrade_check.sh @@ -71,7 +71,7 @@ for file in $( ls $extensions | sort -n ) ; do cat $file echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version';" echo "COMMIT;" - ) | mysql -f --defaults-file=/etc/alternc/my.cnf + ) | mysql --defaults-file=/etc/alternc/my.cnf -f ;; php) php -q $file