summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-01-17 02:47:02 +0200
committerBruno Martins <bgcngm@gmail.com>2019-01-17 11:26:34 +0100
commit3a02fc8144467c52eadc9f977d21571e75212fb5 (patch)
treebae137f8a294b2e7371d20cd78d9b542ff245afd
parent864160111bc0d449da7c61c58a2e53c408a265fb (diff)
extract_utils: fix mismatch with non-lowercase pinned sha1sum
Change-Id: I86421ca69007ad1992aa67deedf7d2e32bbe4dba Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
-rw-r--r--extract_utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract_utils.sh b/extract_utils.sh
index 2355203..4c76b44 100644
--- a/extract_utils.sh
+++ b/extract_utils.sh
@@ -1024,7 +1024,7 @@ function extract() {
mkdir -p $(dirname "${VENDOR_REPO_FILE}")
# Check pinned files
- local HASH="${HASHLIST[$i-1]}"
+ local HASH="$(echo ${HASHLIST[$i-1]} | awk '{ print tolower($0); }')"
local KEEP=""
if [ "$DISABLE_PINNING" != "1" ] && [ ! -z "$HASH" ] && [ "$HASH" != "x" ]; then
if [ -f "${VENDOR_REPO_FILE}" ]; then