diff --git a/check_tools.sh b/check_tools.sh index 86a336eb3..cba82f787 100755 --- a/check_tools.sh +++ b/check_tools.sh @@ -35,7 +35,7 @@ if ! (find submodules/linphone/mediastreamer2 -mindepth 1 2>/dev/null | grep -q echo_err "Missing some git submodules. Did you run 'git submodule update --init --recursive'?" fi # Android NDK should NOT be simlinked! -if [[ -L "$ANDROID_NDK" && -d "$ANDROID_NDK" ]]; then +if [ -L "$ANDROID_NDK" ] && [ -d "$ANDROID_NDK" ]; then echo_err "ANDROID_NDK=$ANDROID_NDK must NOT be a symbolic link, please modify it accordingly" fi