diff --git a/compile.sh b/compile.sh index e0de4900..83e93227 100755 --- a/compile.sh +++ b/compile.sh @@ -17,7 +17,7 @@ API=9 ROOT="$PWD" # compile.sh must be run from root of android project sources SUBDIRS="xash3d-fwgs hlsdk-xash3d" SYMLINKS_APPEND="" -if [ $# -ne 2 ]; then +if [ $1 == "" ]; then BUILD_TYPE=debug else BUILD_TYPE=$1