From b786b366f2026c32712139d88f4eefbd9a6e9981 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 11 Nov 2011 09:41:32 +0100 Subject: [PATCH] check for .git in the right place --- misc/tools/rsync-updater/update-xonotic.bat | 2 +- misc/tools/rsync-updater/update-xonotic.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2