From 26fc3f13254e38ddd6903e7e18e0945b4e6fe63d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 30 Sep 2023 20:04:02 +0100 Subject: general code formatting cleanup in shell scripts Signed-off-by: Leah Rowe --- script/update/blobs/download | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'script/update/blobs/download') diff --git a/script/update/blobs/download b/script/update/blobs/download index 51747824..9e017cc4 100755 --- a/script/update/blobs/download +++ b/script/update/blobs/download @@ -74,10 +74,9 @@ download_blobs() fetch "e6400vga" "${E6400_VGA_DL_url}" \ "${E6400_VGA_DL_url_bkup}" "${E6400_VGA_DL_hash}" \ "${CONFIG_VGA_BIOS_FILE}" - if [ ! -z "${CONFIG_HAVE_MRC}" ]; then - fetch "mrc" "${MRC_url}" "${MRC_url_bkup}" "${MRC_hash}" \ - "${CONFIG_MRC_FILE}" - fi + [ -z "${CONFIG_HAVE_MRC}" ] && return 0 + fetch "mrc" "${MRC_url}" "${MRC_url_bkup}" "${MRC_hash}" \ + "${CONFIG_MRC_FILE}" } extract_intel_me() -- cgit v1.2.1