diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-30 20:04:02 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-30 20:06:29 +0100 |
commit | 26fc3f13254e38ddd6903e7e18e0945b4e6fe63d (patch) | |
tree | 0baf792f50daea402a9a35dec25bb2aa6e89ac3d /script/update/blobs/download | |
parent | 0a0defd3256ff5e29e3b4d129a04fb7546bc31ac (diff) |
general code formatting cleanup in shell scripts
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/blobs/download')
-rwxr-xr-x | script/update/blobs/download | 7 |
1 files changed, 3 insertions, 4 deletions
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() |