diff options
author | Leah Rowe <leah@libreboot.org> | 2023-08-31 17:16:54 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-08-31 17:16:54 +0100 |
commit | fbda0f04dbc53e7c98eba66418de1ff459484685 (patch) | |
tree | 203c35da35680396ea937f1a5aec14a8d757fb37 /script/update | |
parent | b2bad5a030377c8dc0baecf74545b80676f684dc (diff) |
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>
Diffstat (limited to 'script/update')
-rwxr-xr-x | script/update/blobs/download | 2 | ||||
-rwxr-xr-x | script/update/blobs/extract | 2 | ||||
-rwxr-xr-x | script/update/blobs/inject | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/script/update/blobs/download b/script/update/blobs/download index 3df460d4..1d18cf7e 100755 --- a/script/update/blobs/download +++ b/script/update/blobs/download @@ -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" diff --git a/script/update/blobs/extract b/script/update/blobs/extract index fa76dfb5..c62700f2 100755 --- a/script/update/blobs/extract +++ b/script/update/blobs/extract @@ -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" ] || \ diff --git a/script/update/blobs/inject b/script/update/blobs/inject index bc6b55c9..08bbf41a 100755 --- a/script/update/blobs/inject +++ b/script/update/blobs/inject @@ -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" ] && \ |