Loading build-community.sh +8 −5 Original line number Diff line number Diff line Loading @@ -144,6 +144,8 @@ for branch in ${BRANCH_NAME//,/ }; do sync_successful=false fi android_version=$(sed -n -e 's/^\s*PLATFORM_VERSION\.QP1A := //p' build/core/version_defaults.mk) if [ -z $android_version ]; then android_version=$(sed -n -e 's/^\s*PLATFORM_VERSION\.OPM1 := //p' build/core/version_defaults.mk) if [ -z $android_version ]; then android_version=$(sed -n -e 's/^\s*PLATFORM_VERSION\.PPR1 := //p' build/core/version_defaults.mk) Loading @@ -155,6 +157,7 @@ for branch in ${BRANCH_NAME//,/ }; do fi fi fi fi android_version_major=$(cut -d '.' -f 1 <<< $android_version) if [ "$android_version_major" -ge "8" ]; then Loading Loading
build-community.sh +8 −5 Original line number Diff line number Diff line Loading @@ -144,6 +144,8 @@ for branch in ${BRANCH_NAME//,/ }; do sync_successful=false fi android_version=$(sed -n -e 's/^\s*PLATFORM_VERSION\.QP1A := //p' build/core/version_defaults.mk) if [ -z $android_version ]; then android_version=$(sed -n -e 's/^\s*PLATFORM_VERSION\.OPM1 := //p' build/core/version_defaults.mk) if [ -z $android_version ]; then android_version=$(sed -n -e 's/^\s*PLATFORM_VERSION\.PPR1 := //p' build/core/version_defaults.mk) Loading @@ -155,6 +157,7 @@ for branch in ${BRANCH_NAME//,/ }; do fi fi fi fi android_version_major=$(cut -d '.' -f 1 <<< $android_version) if [ "$android_version_major" -ge "8" ]; then Loading