From: Rudolf Polzer Date: Fri, 11 Nov 2011 08:41:32 +0000 (+0100) Subject: check for .git in the right place X-Git-Tag: xonotic-v0.6.0~63 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b786b366f2026c32712139d88f4eefbd9a6e9981;p=xonotic%2Fxonotic.git check for .git in the right place --- diff --git a/misc/tools/rsync-updater/update-xonotic.bat b/misc/tools/rsync-updater/update-xonotic.bat index 4c797b6c..15fb76b9 100644 --- a/misc/tools/rsync-updater/update-xonotic.bat +++ b/misc/tools/rsync-updater/update-xonotic.bat @@ -4,7 +4,7 @@ set options=-Prtzil --executability --delete-after --delete-excluded --stats if exist Xonotic-low goto xonoticlow if exist Xonotic-high goto xonotichigh -if exist ..\..\..\data\.git goto xonoticdatagit +if exist ..\..\..\.git goto xonoticdatagit if exist ..\..\..\data goto xonoticdata goto xonotic :xonoticlow diff --git a/misc/tools/rsync-updater/update-xonotic.sh b/misc/tools/rsync-updater/update-xonotic.sh index da21ff55..9bc07cd3 100755 --- a/misc/tools/rsync-updater/update-xonotic.sh +++ b/misc/tools/rsync-updater/update-xonotic.sh @@ -13,7 +13,7 @@ if [ -d "Xonotic-low" ]; then elif [ -d "Xonotic-high" ]; then url="rsync://beta.xonotic.org/autobuild-Xonotic-high/" target="Xonotic-high/" -elif [ -d "../../../data/.git" ]; then +elif [ -d "../../../.git" ]; then echo >&2 "NOTE: this is a git repository download. Using the regular update method." exec ../../../all update elif [ -d "../../../data" ]; then