We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa5ef4a commit 954726aCopy full SHA for 954726a
1 file changed
.github/workflows/scripts/install-and-build-with-sdk.sh
@@ -679,7 +679,7 @@ install_android_sdk() {
679
# it often is on GitHub runners, and use it if so
680
local foo="$(ls $ANDROID_NDK_HOME/..)
681
local goo=$(echo $android_ndk_version | tr -d "[:alpha:]")
682
- local try_ndk_path=$(find "${ANDROID_NDK_HOME}/.." -name "$(echo $android_ndk_version | tr -d "[:alpha:]")*" -maxdepth 1)
+ local try_ndk_path=$(find "${ANDROID_NDK_HOME}/.." -name "$(echo "$android_ndk_version" | tr -d "[:alpha:]")*" -maxdepth 1)
683
log "looking in $foo for $try_ndk_path with $goo"
684
if [[ -d "${try_ndk_path}" && $(grep -q "Pkg.ReleaseName = ${android_ndk_version}" "${try_ndk_path}/source.properties") ]]; then
685
log "Found a matching Android NDK $android_ndk_version at $try_ndk_path instead"
0 commit comments