]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
check for .git in the right place
authorRudolf Polzer <divverent@xonotic.org>
Fri, 11 Nov 2011 08:41:32 +0000 (09:41 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 11 Nov 2011 08:41:32 +0000 (09:41 +0100)
misc/tools/rsync-updater/update-xonotic.bat
misc/tools/rsync-updater/update-xonotic.sh

index 4c797b6cab7157a03c2d78ec94440054847366ab..15fb76b9aa7f7f47d7870b5069b141c4f0655365 100644 (file)
@@ -4,7 +4,7 @@ set options=-Prtzil --executability --delete-after --delete-excluded --stats
 \r
 if exist Xonotic-low goto xonoticlow\r
 if exist Xonotic-high goto xonotichigh\r
-if exist ..\..\..\data\.git goto xonoticdatagit\r
+if exist ..\..\..\.git goto xonoticdatagit\r
 if exist ..\..\..\data goto xonoticdata\r
 goto xonotic\r
 :xonoticlow\r
index da21ff552c321040736821ebd571b21f4e0535c1..9bc07cd387c9b667de92a91a352025f9ac2cf4c5 100755 (executable)
@@ -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