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>master
parent
c7a3a607f3
commit
34f851742e
|
@ -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."
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue