From 8b78cb42e6a4030a90fb06df6b4b678b880a1760 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 28 Jan 2012 17:35:42 +0100 Subject: [PATCH] move the cleanup to the end again to fix the script updating itself --- misc/tools/rsync-updater/update-xonotic.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2