mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
vendor.sh: Don't use x_ for image MAC address mod
The path might contain spaces and such, which breaks when using the x_ prefix. Call err instead. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-1
@@ -390,5 +390,6 @@ modify_gbe()
|
||||
|
||||
x_ cp "${CONFIG_GBE_BIN_PATH##*../}" "$TMPDIR/gbe"
|
||||
x_ "util/nvmutil/nvm" "$TMPDIR/gbe" setmac $new_mac
|
||||
x_ "$ifdtool" $ifdprefix -i GbE:"$TMPDIR/gbe" "$1" -O "$1"
|
||||
"$ifdtool" $ifdprefix -i GbE:"$TMPDIR/gbe" "$1" -O "$1" || \
|
||||
$err "Cannot insert modified GbE region into target image."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user