mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 12:31:25 +02:00
inject.sh: simplify remktar()
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user