From fbda0f04dbc53e7c98eba66418de1ff459484685 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 31 Aug 2023 17:16:54 +0100 Subject: 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 --- script/update/blobs/download | 2 +- script/update/blobs/extract | 2 +- script/update/blobs/inject | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'script/update') 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" ] && \ -- cgit v1.2.1