summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-27 21:42:31 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-27 21:44:45 +0100
commit00d99adb5c1e0343bf889a260ea57b1292a3bc9c (patch)
tree4e88ecf4b8b3fdfda7dfe10a8186ca94594cb060 /include/vendor.sh
parent68eca880c683947e2f189c1368fb6032ce6fc832 (diff)
Revert "inject.sh: simplify remktar()"
This reverts commit 28f03d39cb1a7cfa8db46b3875557a530aebdd46. The commit that this reverts, broke building release roms. 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 5e1c77ff..f7dce827 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -256,7 +256,7 @@ getvfile()
{
eval "`setcfg "config/vendor/$vcfg/pkg.cfg" 1`"
bootstrap && [ $# -gt 0 ] && getfiles && return 0 # download
- fx_ prep x_ find "$tdir" -maxdepth 1 -type f -name "*.rom"
+ fx_ prep x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom"
( check_vendor_hashes ) || err "$archive: Can't verify hashes"; :
}
@@ -390,7 +390,7 @@ vfile()
check_vendor_hashes()
{
- x_ cd "$tdir"
+ x_ cd "$tmpromdir"
[ "$has_hashes" = "n" ] || [ "$nuke" = "nuke" ] || sha512sum \
--status -c "$hashfile" || x_ sha1sum --status -c "$hashfile"
x_ rm -f "$hashfile"