Android build script works with pre-releases present.
build_apk.sh assumed pre-releases would be sorted towards the end, but instead they end up at the front (sort -n) causing the api selection loop to halt early. bug: 19213196 Change-Id: I210a18c16e81880229f154c4613f8b97d90ac9bd tested: on Linux.
This commit is contained in:
parent
71e97b7123
commit
6ccdfff0af
|
@ -243,12 +243,8 @@ select_android_build_target() {
|
|||
android_build_target="android-${android_target}"
|
||||
break
|
||||
fi
|
||||
else
|
||||
# The API version is a letter
|
||||
# Letters are sorted to the end by 'sort -n'
|
||||
# so we're out of numbered platforms. Use this one.
|
||||
android_build_target="android-${android_target}"
|
||||
break
|
||||
# else
|
||||
# The API version is a letter, so skip it.
|
||||
fi
|
||||
done
|
||||
if [[ "${android_build_target}" == "" ]]; then
|
||||
|
|
Loading…
Reference in New Issue