From 207d391fcdefe0e1c6b61bba14458cc834f1e24e Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Wed, 11 Sep 2013 16:50:33 -0400 Subject: [PATCH] Allow running from root of gmqcc repo as well. --- misc/check-proj.sh | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.39.2