From: Rudolf Polzer Date: Fri, 27 Jan 2012 18:02:35 +0000 (+0100) Subject: fix the copying of rsync.exe and stuff X-Git-Tag: xonotic-v0.6.0~30^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5aec9f4acb6878ee397b26423df942fff5810b4f;p=xonotic%2Fxonotic.git fix the copying of rsync.exe and stuff --- diff --git a/misc/tools/rsync-updater/update-xonotic.bat b/misc/tools/rsync-updater/update-xonotic.bat index ee7fa39e..08ab5d8d 100644 --- a/misc/tools/rsync-updater/update-xonotic.bat +++ b/misc/tools/rsync-updater/update-xonotic.bat @@ -2,6 +2,10 @@ cd %~dp0 +del /s /y %TEMP%\xonotic-rsync-updater +mkdir %TEMP%\xonotic-rsync-updater +for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\ + set options=-Prtzil --executability --delete-after --delete-excluded --stats if exist Xonotic-low goto xonoticlow @@ -93,12 +97,12 @@ if "%ProgramFiles(x86)%" == "" goto bit32 goto endbit :endbit -del /s %TEMP%\xonotic-rsync-updater +del /s /y %TEMP%\xonotic-rsync-updater mkdir %TEMP%\xonotic-rsync-updater for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\ %TEMP%\xonotic-rsync-updater\rsync %options% %excludes% %url% %target% %TEMP%\xonotic-rsync-updater\chmod -R a+x %target% -del /s %TEMP%\xonotic-rsync-updater :end +del /s /y %TEMP%\xonotic-rsync-updater pause