]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/rsync-updater/update-xonotic.bat
fix more windows stuff here. Now it works.
[xonotic/xonotic.git] / misc / tools / rsync-updater / update-xonotic.bat
index 08ab5d8d16082b20d877613ff6144b6942326325..b51303e5d1915edb611365e4f89921f26787faef 100644 (file)
@@ -2,7 +2,7 @@
 \r
 cd %~dp0\r
 \r
-del /s /y %TEMP%\xonotic-rsync-updater\r
+del /s /q %TEMP%\xonotic-rsync-updater\r
 mkdir %TEMP%\xonotic-rsync-updater\r
 for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\\r
 \r
@@ -97,12 +97,10 @@ if "%ProgramFiles(x86)%" == "" goto bit32
        goto endbit\r
 :endbit\r
 \r
-del /s /y %TEMP%\xonotic-rsync-updater\r
-mkdir %TEMP%\xonotic-rsync-updater\r
 for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\\r
 %TEMP%\xonotic-rsync-updater\rsync %options% %excludes% %url% %target%\r
 %TEMP%\xonotic-rsync-updater\chmod -R a+x %target%\r
 \r
 :end\r
-del /s /y %TEMP%\xonotic-rsync-updater\r
+del /s /q %TEMP%\xonotic-rsync-updater\r
 pause\r