]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
move the cleanup to the end again to fix the script updating itself
authorRudolf Polzer <divverent@alientrap.org>
Sat, 28 Jan 2012 16:35:42 +0000 (17:35 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 28 Jan 2012 16:35:42 +0000 (17:35 +0100)
misc/tools/rsync-updater/update-xonotic.bat

index 38dbeccc337d503a5b12255166629adb76c17cde..7149a76b6717cfa87c12fe56e0900094b962911a 100644 (file)
@@ -6,8 +6,6 @@ del /s /q %TEMP%\xonotic-rsync-updater
 mkdir %TEMP%\xonotic-rsync-updater\r
 for %%f in (*.exe *.dll *.bat) do copy /b %%f %TEMP%\xonotic-rsync-updater\\r
 %TEMP%\xonotic-rsync-updater\update-xonotic did-copy\r
-del /s /q %TEMP%\xonotic-rsync-updater\r
-pause\r
 exit\r
 \r
 :copied\r
@@ -107,3 +105,5 @@ for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\
 %TEMP%\xonotic-rsync-updater\chmod -R a+x %target%\r
 \r
 :end\r
+pause\r
+del /s /q %TEMP%\xonotic-rsync-updater\r