PAN-7 fixed the loaddb.bat file for Windows

This commit is contained in:
2019-02-23 20:51:41 -07:00
parent 21ef4f27c8
commit 207db50b15
2 changed files with 4 additions and 4 deletions
@@ -48,6 +48,6 @@ task loadDb(type: Exec, group: 'Verification', description: 'Reloads the local d
commandLine './loaddb.sh'
} else {
workingDir "./scripts/mysql"
commandLine 'loaddb.bat'
commandLine=['cmd','/c','loaddb.bat']
}
}
@@ -1,5 +1,5 @@
SET MYSQL_PWD=secret
FOR /R %%s IN (.\*.sql) do (
set mysql_pwd = secret
FOR /R %%s IN (*.sql) do (
echo **** %%s ****
echo mysql --batch --quick --raw --line-numbers --force --user=panda < %%s
mysql -u panda -psecret < %%s
)