Allow running from root of gmqcc repo as well.
authorDale Weiler <killfieldengine@gmail.com>
Wed, 11 Sep 2013 20:50:33 +0000 (16:50 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 11 Sep 2013 20:50:33 +0000 (16:50 -0400)
misc/check-proj.sh

index 80d3ee2e7e27571f3a5009fbc4cc3a8e65f0f448..60ea3c89df1e1f3da7401bb43d8f4b57aad15cc3 100755 (executable)
@@ -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"