diff options
author | Leah Rowe <leah@libreboot.org> | 2023-07-29 07:28:36 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-07-29 07:28:36 +0100 |
commit | 5e83d2bc8ffa6f0c1dc18f82b159090901413271 (patch) | |
tree | dffd9ef594072bbd647b1fa9b4b3b796d3942c1b | |
parent | 8f1d3ad19f8f63bd9d9a4b0f7c0a42c7ce7fae8b (diff) |
blobs/download: simplify for loop
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | resources/scripts/update/blobs/download | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/resources/scripts/update/blobs/download b/resources/scripts/update/blobs/download index dbb56e9b..041a2362 100755 --- a/resources/scripts/update/blobs/download +++ b/resources/scripts/update/blobs/download @@ -281,16 +281,15 @@ bruteforce_extract_blob_intel_me() 7z x "${i}" -o${_7ztest} || continue bruteforce_extract_blob_intel_me "${_me_destination}" \ "${cdir}/${_7ztest}" - cdir="${1}" - cd "${cdir}" elif [ -d "$i" ]; then bruteforce_extract_blob_intel_me "${_me_destination}" \ "${cdir}/${i}" - cdir="${1}" - cd "${cdir}" else printf "SKIPPING: %s\n" "${i}" + continue fi + cdir="${1}" + cd "${cdir}" done ) |