diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-27 16:10:48 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-27 16:10:48 +0100 |
commit | d023327f980394ed7665cde0132986ed63c01e5c (patch) | |
tree | bf5fd11a9cd67bd1516a105c5b82840fc0afcb44 /include/blobutil.sh | |
parent | 65a3269835f94d2b4090ae702fd6d0911c7ca76c (diff) |
blobs/download: greatly simplify sources handling
remove the giant case/esac list, and set variables directly.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/blobutil.sh')
-rwxr-xr-x | include/blobutil.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/blobutil.sh b/include/blobutil.sh index 7f3685e7..eb3ef6af 100755 --- a/include/blobutil.sh +++ b/include/blobutil.sh @@ -9,10 +9,10 @@ _b="" blobdir="blobs" appdir="${blobdir}/app" -for x in ec_url ec_url_bkup ec_hash dl_hash dl_url dl_url_bkup dl_path \ - e6400_vga_dl_hash e6400_vga_dl_url e6400_vga_dl_url_bkup e6400_vga_offset \ - e6400_vga_romname sch5545ec_dl_url sch5545ec_dl_url_bkup \ - sch5545ec_dl_hash; do +for x in EC_url EC_url_bkup EC_hash DL_hash DL_url DL_url_bkup dl_path \ + E6400_VGA_DL_hash E6400_VGA_DL_url E6400_VGA_DL_url_bkup E6400_VGA_offset \ + E6400_VGA_romname SCH5545EC_DL_url SCH5545EC_DL_url_bkup \ + SCH5545EC_DL_hash; do eval "${x}=\"\"" done |