From: Dale Weiler Date: Wed, 11 Sep 2013 20:50:33 +0000 (-0400) Subject: Allow running from root of gmqcc repo as well. X-Git-Tag: 0.3.5~95 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=207d391fcdefe0e1c6b61bba14458cc834f1e24e;p=xonotic%2Fgmqcc.git Allow running from root of gmqcc repo as well. --- diff --git a/misc/check-proj.sh b/misc/check-proj.sh index 80d3ee2..60ea3c8 100755 --- a/misc/check-proj.sh +++ b/misc/check-proj.sh @@ -76,6 +76,9 @@ env -i type gmqcc 1>/dev/null 2>&1 || { if [ -f ../gmqcc ]; then echo "found previous build of gmqcc, using it" gmqcc_bin="$(pwd)/../gmqcc" + elif [ -f ./gmqcc ]; then + echo "found previous build of gmqcc, using it" + gmqcc_bin="$(pwd)/gmqcc" else echo "gmqcc not installed, and previous build doesn't exist" echo "please run make, or make install"