From: Rudolf Polzer Date: Thu, 26 Jan 2012 14:52:29 +0000 (+0100) Subject: rsync-updater: make sure the chmod command after the rsync will actually work :P X-Git-Tag: xonotic-v0.6.0~30^2~20^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d4d775b6051fbc6a6af9cb9afbf1c98880b2d3a1;p=xonotic%2Fxonotic.git rsync-updater: make sure the chmod command after the rsync will actually work :P --- diff --git a/misc/tools/rsync-updater/update-xonotic.bat b/misc/tools/rsync-updater/update-xonotic.bat index fb3972a5..43d2cc69 100644 --- a/misc/tools/rsync-updater/update-xonotic.bat +++ b/misc/tools/rsync-updater/update-xonotic.bat @@ -92,8 +92,12 @@ if "%ProgramFiles(x86)%" == "" goto bit32 goto endbit :endbit -rsync %options% %excludes% %url% %target% -chmod -R a+x %target% +del /s %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 pause