diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-12 14:52:27 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-12 14:52:27 +0100 |
commit | ef800b652c8fe1e69e8faa338489638c08d30de5 (patch) | |
tree | e16b0dd6877f9dba34b987fefbd4bbd2eaa9cf02 | |
parent | 311ae2f8df28e69ffbf26ff63f7bf70070c225b5 (diff) |
inject.sh: remove the hashfiles variable
we only use it once, and it's a trivial string
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/inject.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/inject.sh b/include/inject.sh index a17ed19c..d4d20568 100644 --- a/include/inject.sh +++ b/include/inject.sh @@ -4,7 +4,6 @@ # Copyright (c) 2023-2025 Leah Rowe <leah@libreboot.org> cbcfgsdir="config/coreboot" -hashfiles="vendorhashes blobhashes" # blobhashes for backwards compatibility tmpromdel="$XBMK_CACHE/DO_NOT_FLASH" nvm="util/nvmutil/nvm" ifdtool="elf/ifdtool/default/ifdtool" @@ -92,7 +91,7 @@ patch_release() remkdir "${tmpromdir%"/bin/$board"}" x_ tar -xf "$archive" -C "${tmpromdir%"/bin/$board"}" - for _hashes in $hashfiles; do + for _hashes in "vendorhashes" "blobhashes"; do e "$tmpromdir/$_hashes" f && \ has_hashes="y" && hashfile="$_hashes" && break; : done |