summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-15 14:01:10 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-15 14:01:10 +0000
commit17c95edc23655bf7c7a7f98d3fbc3d3cab65b784 (patch)
tree57112f105dd72fbed8a41472e9594c0c542ce9fe /tools
parentcee5410c4399a93971fea9fc3810b9fcb72ede33 (diff)
Langpack refresher: Use standard command for deleting files/folders
git-svn-id: http://svn.miranda-ng.org/main/trunk@5365 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/lpgen/refresher.bat20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/lpgen/refresher.bat b/tools/lpgen/refresher.bat
index a021123896..5be061eb98 100644
--- a/tools/lpgen/refresher.bat
+++ b/tools/lpgen/refresher.bat
@@ -82,11 +82,11 @@ if "%phase%" == "0" (
cscript /nologo translate.js /out:".\" /untranslated:"Untranslated" /release:"Langpack_%language%.txt" /sourcelang:"%language%"
)
-rm -r "../../langpacks/%language%/Weather"
-rm -r "../../langpacks/%language%/Plugins"
-rm -r "../../langpacks/%language%/Untranslated"
-rm -r "../../langpacks/%language%/=CORE=.txt"
-rm -r "../../langpacks/%language%/Langpack_%language%.txt"
+rmdir /S /Q "..\..\langpacks\%language%\Weather"
+rmdir /S /Q "..\..\langpacks\%language%\Plugins"
+rmdir /S /Q "..\..\langpacks\%language%\Untranslated"
+del /Q "..\..\langpacks\%language%\=CORE=.txt"
+del /Q "..\..\langpacks\%language%\Langpack_%language%.txt"
mkdir "..\..\langpacks\%language%\Weather"
mkdir "..\..\langpacks\%language%\Plugins"
@@ -97,11 +97,11 @@ copy "Untranslated\" "..\..\langpacks\%language%\Untranslated\"
copy "=CORE=.txt" "..\..\langpacks\%language%\=CORE=.txt"
copy "Langpack_%language%.txt" "..\..\langpacks\%language%\Langpack_%language%.txt"
-rm -r "Weather"
-rm -r "Plugins"
-rm -r "Untranslated"
-rm "=CORE=.txt"
-rm "Langpack_%language%.txt"
+rmdir /S /Q "Weather"
+rmdir /S /Q "Plugins"
+rmdir /S /Q "Untranslated"
+del /Q "=CORE=.txt"
+del /Q "Langpack_%language%.txt"
REM cd "..\..\langpacks\tool\"
REM LangpackSuite.exe \q \p%language%