summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-27 11:38:22 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-27 11:38:22 +0100
commit28f03d39cb1a7cfa8db46b3875557a530aebdd46 (patch)
tree6bd05af6c62b7b151278800c2a3bdab83144555f /include/vendor.sh
parent46f7d48c8d7a7390a55e3c3bff914b68881a34bd (diff)
inject.sh: simplify remktar()
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rw-r--r--include/vendor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 55373913..e92e811a 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -261,7 +261,7 @@ getvfile()
{
eval "`setcfg "config/vendor/$vcfg/pkg.cfg" 1`"
bootstrap && [ $# -gt 0 ] && getfiles && return 0 # download
- fx_ prep x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom"
+ fx_ prep x_ find "$tdir" -maxdepth 1 -type f -name "*.rom"
( check_vendor_hashes ) || err "$archive: Can't verify hashes"; :
}
@@ -395,7 +395,7 @@ vfile()
check_vendor_hashes()
{
- x_ cd "$tmpromdir"
+ x_ cd "$tdir"
[ "$has_hashes" = "n" ] || [ "$nuke" = "nuke" ] || sha512sum \
--status -c "$hashfile" || x_ sha1sum --status -c "$hashfile"
x_ rm -f "$hashfile"