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>
btrfsvols
Leah Rowe 2023-08-31 17:16:54 +01:00
parent b2bad5a030
commit fbda0f04db
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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" ] || \

View File

@ -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" ] && \