mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 23:39:33 +02:00
inject.sh: Remove redundant code in copy_tbfw
We don't use the tbtmp variable anymore, in this function. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -288,9 +288,6 @@ copy_tbfw()
|
|||||||
[ -f "$1" ] || return 0
|
[ -f "$1" ] || return 0
|
||||||
[ -L "$1" ] && return 0
|
[ -L "$1" ] && return 0
|
||||||
|
|
||||||
tbtmp="$xbmklocal/tb.bin"
|
|
||||||
x_ rm -f "$tbtmp"
|
|
||||||
|
|
||||||
x_ dd if=/dev/null of="$1" bs=1 seek=$TBFW_size
|
x_ dd if=/dev/null of="$1" bs=1 seek=$TBFW_size
|
||||||
x_ mv "$1" "$_dest"
|
x_ mv "$1" "$_dest"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user