summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2021-04-10 14:36:50 +0100
committerBruno Martins <bgcngm@gmail.com>2021-08-23 11:20:33 +0200
commitf12ce8b81d584b435813b6db8401a41bd91a64d0 (patch)
tree2923a9b4d258fd216baf5842c18fccc3a1840491
parentac8ec32080a97f22b947f71d63fe3dfa953db732 (diff)
extract_utils: Add a bit of color to the output
Change-Id: I2a779362121645d6d1cee7858a305425190eab56
-rw-r--r--extract_utils.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/extract_utils.sh b/extract_utils.sh
index 3ccf854..de62732 100644
--- a/extract_utils.sh
+++ b/extract_utils.sh
@@ -1592,7 +1592,7 @@ function extract() {
done
if [ "${FOUND}" = false ]; then
- printf ' !! %s: file not found in source\n' "${BLOB_DISPLAY_NAME}"
+ colored_echo red " !! ${BLOB_DISPLAY_NAME}: file not found in source"
continue
fi
fi
@@ -1637,8 +1637,8 @@ function extract() {
printf " + Fixed up %s\n" "${BLOB_DISPLAY_NAME}"
# Now sanity-check the spec for this blob.
if [ "${KANG}" = false ] && [ "${FIXUP_HASH}" = "x" ] && [ "${HASH}" != "x" ]; then
- printf "WARNING: The %s file was fixed up, but it is pinned.\n" ${BLOB_DISPLAY_NAME}
- printf "This is a mistake and you want to either remove the hash completely, or add an extra one.\n"
+ colored_echo yellow "WARNING: The ${BLOB_DISPLAY_NAME} file was fixed up, but it is pinned."
+ colored_echo yellow "This is a mistake and you want to either remove the hash completely, or add an extra one."
fi
fi