From 5e83d2bc8ffa6f0c1dc18f82b159090901413271 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 29 Jul 2023 07:28:36 +0100 Subject: blobs/download: simplify for loop Signed-off-by: Leah Rowe --- resources/scripts/update/blobs/download | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'resources/scripts') 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 ) -- cgit v1.2.1