extract_utils: Fix vendor framework makefile generation
* Fix copy-pasta
Change-Id: I9b2f61702985cb59af34ad146fd61bedba043f81
diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh
index 01a2ddb..6adcfdc 100644
--- a/build/tools/extract_utils.sh
+++ b/build/tools/extract_utils.sh
@@ -439,7 +439,7 @@
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