File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -677,7 +677,10 @@ install_android_sdk() {
677677 log " Android NDK $android_ndk_version did not match $( grep " Pkg.ReleaseName" " $ANDROID_NDK_HOME /source.properties" ) "
678678 # Check if the correct NDK is already cached in the same directory, as
679679 # 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:]" )
680682 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 "
681684 if [[ -d " ${try_ndk_path} " && $( grep -q " Pkg.ReleaseName = ${android_ndk_version} " " ${try_ndk_path} /source.properties" ) ]]; then
682685 log " Found a matching Android NDK $android_ndk_version at $try_ndk_path instead"
683686 export ANDROID_NDK_HOME=" $try_ndk_path "
You can’t perform that action at this time.
0 commit comments