From 4fa711bfd3c4118b7007ff86d1e63c5e33d7da33 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 7 Oct 2019 05:33:52 +0300 Subject: [PATCH] compile.sh: fix build type selection --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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