summaryrefslogtreecommitdiff
path: root/resources/scripts/update/blobs
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-07-29 07:28:36 +0100
committerLeah Rowe <leah@libreboot.org>2023-07-29 07:28:36 +0100
commit5e83d2bc8ffa6f0c1dc18f82b159090901413271 (patch)
treedffd9ef594072bbd647b1fa9b4b3b796d3942c1b /resources/scripts/update/blobs
parent8f1d3ad19f8f63bd9d9a4b0f7c0a42c7ce7fae8b (diff)
blobs/download: simplify for loop
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/update/blobs')
-rwxr-xr-xresources/scripts/update/blobs/download7
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
)