From: Rudolf Polzer <divverent@alientrap.org>
Date: Sat, 28 Jan 2012 16:56:38 +0000 (+0100)
Subject: actually I wanted rmdir /s /q, not del /s /q
X-Git-Tag: xonotic-v0.6.0~30^2~5
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5104751bb4d62796cc614c3284c35d70c0dc74d6;p=xonotic%2Fxonotic.git

actually I wanted rmdir /s /q, not del /s /q
---

diff --git a/misc/tools/rsync-updater/update-xonotic.bat b/misc/tools/rsync-updater/update-xonotic.bat
index 7149a76b..71aaee95 100644
--- a/misc/tools/rsync-updater/update-xonotic.bat
+++ b/misc/tools/rsync-updater/update-xonotic.bat
@@ -2,7 +2,7 @@
 
 if "%1" == "did-copy" goto copied
 cd %~dp0
-del /s /q %TEMP%\xonotic-rsync-updater
+rmdir /s /q %TEMP%\xonotic-rsync-updater
 mkdir %TEMP%\xonotic-rsync-updater
 for %%f in (*.exe *.dll *.bat) do copy /b %%f %TEMP%\xonotic-rsync-updater\
 %TEMP%\xonotic-rsync-updater\update-xonotic did-copy
@@ -106,4 +106,4 @@ for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\
 
 :end
 pause
-del /s /q %TEMP%\xonotic-rsync-updater
+rmdir /s /q %TEMP%\xonotic-rsync-updater