]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - misc/check-proj.sh
Allow running from root of gmqcc repo as well.
[xonotic/gmqcc.git] / 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"