build_game.sh: Don't insist on using the local fteqcc

This commit is contained in:
Marco Cawthorne 2022-04-24 14:11:56 -07:00
parent 27308ff1f4
commit 8aee63968d
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ set -e
SCRPATH="$( cd "$( dirname $(readlink -nf $0) )" && pwd )"
PATH="$SCRPATH"/bin:"$PATH"
if [ -f "$SCRPATH"/bin/fteqcc ]; then
if [ -x "$(command -v fteqcc)" ]; then
# We want to compile a specific game
if [ $# -gt 0 ]; then