compile.sh: fix build type selection

This commit is contained in:
Alibek Omarov 2019-10-07 05:33:52 +03:00
parent 8d9d9fd682
commit 4fa711bfd3

View file

@ -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