diff options
author | bearbin <bearbin@gmail.com> | 2013-07-29 14:55:26 +0200 |
---|---|---|
committer | bearbin <bearbin@gmail.com> | 2013-07-29 14:55:26 +0200 |
commit | fb1044c4e55c726753d094b66756a1cb3bc60ee8 (patch) | |
tree | c61e56725da7dff0154d566722651e2c39c9d6c6 /UpdateVersions.cmd | |
parent | WebAdmin: Removed the duplicate memory usage querying (diff) | |
parent | Changed everyting to Unix line endings. (diff) | |
download | cuberite-fb1044c4e55c726753d094b66756a1cb3bc60ee8.tar cuberite-fb1044c4e55c726753d094b66756a1cb3bc60ee8.tar.gz cuberite-fb1044c4e55c726753d094b66756a1cb3bc60ee8.tar.bz2 cuberite-fb1044c4e55c726753d094b66756a1cb3bc60ee8.tar.lz cuberite-fb1044c4e55c726753d094b66756a1cb3bc60ee8.tar.xz cuberite-fb1044c4e55c726753d094b66756a1cb3bc60ee8.tar.zst cuberite-fb1044c4e55c726753d094b66756a1cb3bc60ee8.zip |
Diffstat (limited to 'UpdateVersions.cmd')
-rw-r--r-- | UpdateVersions.cmd | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/UpdateVersions.cmd b/UpdateVersions.cmd index b724990bb..1d4b00bca 100644 --- a/UpdateVersions.cmd +++ b/UpdateVersions.cmd @@ -1,39 +1,39 @@ -@echo off
-:: UpdateVersions.cmd
-:: This script processes all *.template files into their non-templated variants using subwcrev, substituting WC-related keywords in the process
-:: subwcrev is expected to be in path; you can pass the correct path for your system as env var "subwcrev"
-
-
-:: Subwcrev (from TortoiseSVN, for querying revision number; by default in PATH):
-if %subwcrev%a == a set subwcrev=subwcrev
-
-
-
-
-:: Copy all *.template files into their non-template versions, substituting SVN keywords:
-for /r %%X in (*.template) do (
- %subwcrev% . "%%X" "%%~dpX%%~nX"
- if errorlevel 1 goto haderror
-)
-
-
-goto end
-
-
-
-
-:haderror
-echo an error was encountered, check command output above
-pause
-goto finished
-
-
-
-
-
-:end
-if "a%1" == "a" pause
-
-
-
+@echo off +:: UpdateVersions.cmd +:: This script processes all *.template files into their non-templated variants using subwcrev, substituting WC-related keywords in the process +:: subwcrev is expected to be in path; you can pass the correct path for your system as env var "subwcrev" + + +:: Subwcrev (from TortoiseSVN, for querying revision number; by default in PATH): +if %subwcrev%a == a set subwcrev=subwcrev + + + + +:: Copy all *.template files into their non-template versions, substituting SVN keywords: +for /r %%X in (*.template) do ( + %subwcrev% . "%%X" "%%~dpX%%~nX" + if errorlevel 1 goto haderror +) + + +goto end + + + + +:haderror +echo an error was encountered, check command output above +pause +goto finished + + + + + +:end +if "a%1" == "a" pause + + + :finished
\ No newline at end of file |