mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
re-add /dev/null redirect on . ${1}
the error messages that it shows are benign, but users see them and worry that something went wrong this patch reduces the number of people asking pointless questions on irc Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -79,7 +79,7 @@ main()
|
||||
detect_firmware()
|
||||
{
|
||||
set -- "${boarddir}/config/"*
|
||||
. "${1}"
|
||||
. "${1}" 2>/dev/null
|
||||
. "${boarddir}/target.cfg"
|
||||
|
||||
[ "${CONFIG_HAVE_MRC}" = "y" ] && needs="${needs} MRC"
|
||||
|
||||
@@ -72,7 +72,7 @@ extract_blobs()
|
||||
printf "extracting blobs for %s from %s\n" ${board} ${vendor_rom}
|
||||
|
||||
set -- "${boarddir}/config/"*
|
||||
. "${1}"
|
||||
. "${1}" 2>/dev/null
|
||||
. "${boarddir}/target.cfg"
|
||||
|
||||
[ "$CONFIG_HAVE_MRC" != "y" ] || \
|
||||
|
||||
@@ -188,7 +188,7 @@ patch_rom()
|
||||
err "patch_rom: file missing: ${boarddir}/target.cfg"
|
||||
|
||||
set -- "${boarddir}/config/"*
|
||||
. "${1}"
|
||||
. "${1}" 2>/dev/null
|
||||
. "${boarddir}/target.cfg"
|
||||
|
||||
[ "$CONFIG_HAVE_MRC" = "y" ] && \
|
||||
|
||||
Reference in New Issue
Block a user