mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-01 12:20:49 +00:00
Allow running from root of gmqcc repo as well.
This commit is contained in:
parent
f44c127fbd
commit
207d391fcd
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue