We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 927d00d commit 685f5b5Copy full SHA for 685f5b5
backends/qualcomm/scripts/install_qnn_sdk.sh
@@ -9,7 +9,7 @@ source "${SCRIPT_DIR}/qnn_config.sh"
9
# Function to install Android NDK (only if not already set)
10
setup_android_ndk() {
11
# Check if ANDROID_NDK_ROOT is already set and valid
12
- if [ -n "${ANDROID_NDK_ROOT}" ] && [ -d "${ANDROID_NDK_ROOT}" ]; then
+ if [ -n "${ANDROID_NDK_ROOT:-}" ] && [ -d "${ANDROID_NDK_ROOT:-}" ]; then
13
echo "Android NDK already set to ${ANDROID_NDK_ROOT} - skipping installation"
14
return
15
fi
0 commit comments