move the cleanup to the end again to fix the script updating itself

This commit is contained in:
Rudolf Polzer 2012-01-28 17:35:42 +01:00
parent b0af20608a
commit 8b78cb42e6

View File

@ -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