From 17c95edc23655bf7c7a7f98d3fbc3d3cab65b784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 15 Jul 2013 14:01:10 +0000 Subject: 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 --- tools/lpgen/refresher.bat | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tools') 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% -- cgit v1.2.3