From: Rudolf Polzer Date: Sat, 28 Jan 2012 16:20:38 +0000 (+0100) Subject: more windows fixes X-Git-Tag: xonotic-v0.6.0~30^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8c5c7a7fb946332ec019bde977a99b6a04d31164;p=xonotic%2Fxonotic.git more windows fixes --- diff --git a/misc/tools/rsync-updater/update-xonotic.bat b/misc/tools/rsync-updater/update-xonotic.bat index b51303e5..38dbeccc 100644 --- a/misc/tools/rsync-updater/update-xonotic.bat +++ b/misc/tools/rsync-updater/update-xonotic.bat @@ -1,11 +1,16 @@ @echo off +if "%1" == "did-copy" goto copied cd %~dp0 - del /s /q %TEMP%\xonotic-rsync-updater mkdir %TEMP%\xonotic-rsync-updater -for %%f in (*.exe *.dll) do copy /b %%f %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 set options=-Prtzil --executability --delete-after --delete-excluded --stats if exist Xonotic-low goto xonoticlow @@ -102,5 +107,3 @@ for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\ %TEMP%\xonotic-rsync-updater\chmod -R a+x %target% :end -del /s /q %TEMP%\xonotic-rsync-updater -pause