extract_utils: Fix vendor framework makefile generation

* Fix copy-pasta

Change-Id: I9b2f61702985cb59af34ad146fd61bedba043f81
This commit is contained in:
Michael Bestas
2018-02-27 22:31:55 +02:00
parent a91985580d
commit a3f97c75bf

View File

@@ -439,7 +439,7 @@ function write_product_packages() {
write_packages "JAVA_LIBRARIES" "false" "" "FRAMEWORK" >> "$ANDROIDMK"
fi
local V_FRAMEWORK=( $(prefix_match "vendor/framework/") )
if [ "${#FRAMEWORK[@]}" -gt "0" ]; then
if [ "${#V_FRAMEWORK[@]}" -gt "0" ]; then
write_packages "JAVA_LIBRARIES" "true" "" "V_FRAMEWORK" >> "$ANDROIDMK"
fi