Use correct way to detect a symbolic link
This commit is contained in:
parent
eb3439107c
commit
de248f3021
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ 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'?"
|
echo_err "Missing some git submodules. Did you run 'git submodule update --init --recursive'?"
|
||||||
fi
|
fi
|
||||||
# Android NDK should NOT be simlinked!
|
# Android NDK should NOT be simlinked!
|
||||||
if [ ! -f "$ANDROID_NDK" ]; then
|
if [[ -L "$ANDROID_NDK" && -d "$ANDROID_NDK" ]]; then
|
||||||
echo_err "ANDROID_NDK=$ANDROID_NDK is not existing or is a symbolic link. Please use a correct folder"
|
echo_err "ANDROID_NDK=$ANDROID_NDK must NOT be a symbolic link, please modify it accordingly"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $error_on_quit = 0 ]; then
|
if [ $error_on_quit = 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue