extract_utils: Display the fixup hash when keeping pinned files
Change-Id: I32e288b1b06f103179d894d0a68a2ce34df31913
diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh
index 976b2e8..0525be5 100755
--- a/build/tools/extract_utils.sh
+++ b/build/tools/extract_utils.sh
@@ -1587,7 +1587,11 @@
fi
if [ "$KEEP" = "1" ]; then
- printf ' + keeping pinned file with hash %s\n' "${HASH}"
+ if [ "${FIXUP_HASH}" != "x" ]; then
+ printf ' + keeping pinned file with hash %s\n' "${FIXUP_HASH}"
+ else
+ printf ' + keeping pinned file with hash %s\n' "${HASH}"
+ fi
else
FOUND=false
# Try Lineage target first.