From: Rudolf Polzer Date: Sat, 28 Jan 2012 16:35:42 +0000 (+0100) Subject: move the cleanup to the end again to fix the script updating itself X-Git-Tag: xonotic-v0.6.0~30^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8b78cb42e6a4030a90fb06df6b4b678b880a1760;p=xonotic%2Fxonotic.git move the cleanup to the end again to fix the script updating itself --- diff --git a/misc/tools/rsync-updater/update-xonotic.bat b/misc/tools/rsync-updater/update-xonotic.bat index 38dbeccc..7149a76b 100644 --- a/misc/tools/rsync-updater/update-xonotic.bat +++ b/misc/tools/rsync-updater/update-xonotic.bat @@ -6,8 +6,6 @@ del /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 -del /s /q %TEMP%\xonotic-rsync-updater -pause exit :copied @@ -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% :end +pause +del /s /q %TEMP%\xonotic-rsync-updater