Do not use double brackets for 2 conditions check in shell scripts, instead use [ cond1 ] && [ cond2 ]
This commit is contained in:
parent
de248f3021
commit
f4b8ab2d97
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue