Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/mplayerc/mpcresources/sync.bat')
-rw-r--r--src/apps/mplayerc/mpcresources/sync.bat10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/apps/mplayerc/mpcresources/sync.bat b/src/apps/mplayerc/mpcresources/sync.bat
index a2e80103c..46cd2222e 100644
--- a/src/apps/mplayerc/mpcresources/sync.bat
+++ b/src/apps/mplayerc/mpcresources/sync.bat
@@ -7,10 +7,14 @@ rem This is only an example.
echo Get the latest mplayerc.rc from repository first...
svn cat -r head ../mplayerc.rc > $$TEMP$$.old
-if %ERRORLEVEL% neq 0 goto :NOSVNCLI
+if %ERRORLEVEL% neq 0 goto NOSVNCLI
echo ----------------------
-for %%i in (*.rc) do echo Patching file %%i & perl patch.pl -i text\%%i.txt %%i & echo ----------------------
+for %%i in (*.rc) do (
+ echo Patching file %%i
+ perl patch.pl -i text\%%i.txt %%i
+ echo ----------------------
+)
echo ----------------------
echo Generating new rc files...
@@ -26,7 +30,7 @@ copy ..\mplayerc.rc .
perl rcstrings.pl -a
del mplayerc.rc
echo ----------------------
-goto :END
+goto END
:NOSVNCLI
echo You'll need svn command line tool to use this script.