From c982836ca6292ac0dd1d2e326be22dc1131b2484 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 21 Dec 2017 03:20:08 +0200 Subject: [PATCH] extract_utils: Fix makefile generation issues * Fix makefile generation for packages that have set a different target destination * Thanks to rashed and javelinanddart for their help in debugging and solving this issue. Change-Id: I1f5a1abd6929e4a7e0ccd6370d3a3dd986f94fed --- build/tools/extract_utils.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh index f173c311..6420adba 100644 --- a/build/tools/extract_utils.sh +++ b/build/tools/extract_utils.sh @@ -656,6 +656,7 @@ function parse_file_list() { # if line starts with a dash, it needs to be packaged if [[ "$SPEC" =~ ^- ]]; then + SPEC=$(echo "${SPEC}" | sed 's/[^"]*://') PRODUCT_PACKAGES_LIST+=("${SPEC#-}") PRODUCT_PACKAGES_HASHES+=("$HASH") else