]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/cats/drop_mysql_tables.cmd
kes Add context menu for floating a window.
[bacula/bacula] / bacula / src / win32 / cats / drop_mysql_tables.cmd
index 0dd328ad5582b43b1391717843509376c854879e..fd7cc332b83eb1e3e8fa28866cf258afe7d274e6 100644 (file)
@@ -1,14 +1,14 @@
-@echo off\r
-rem\r
-rem Script to delete Bacula tables for MySQL\r
-rem\r
+@ECHO off\r
+REM\r
+REM Script to delete Bacula tables for MySQL\r
+REM\r
 \r
-"%SQL_BINDIR%/mysql" %* < drop_mysql_tables.sql\r
-set RESULT=%ERRORLEVEL%\r
-if %RESULT% GTR 0 goto :ERROR\r
-echo "Deletion of Bacula MySQL tables succeeded."\r
-exit /b 0\r
+"@SQL_BINDIR@\mysql" %* < "@bin_dir_cmd@\drop_mysql_tables.sql"\r
+SET RESULT=%ERRORLEVEL%\r
+IF %RESULT% GTR 0 goto :ERROR\r
+ECHO Deletion of Bacula MySQL tables succeeded.\r
+EXIT /b 0\r
 \r
 :ERROR\r
-echo "Deletion of Bacula MySQL tables failed."\r
-exit /b %RESULT%\r
+ECHO Deletion of Bacula MySQL tables failed.\r
+EXIT /b %RESULT%\r