From ced245aea5ecdb74a696c66ac6c5cb29721afc81 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Sun, 18 Aug 2019 23:55:55 +0200 Subject: [PATCH] build.sh: fix remove known-broken images after the build (cherry picked from commit 74088a18a9c2cc648bcd341d7768e8f6bc4c7d71) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 5ea5988..3d3aae8 100755 --- a/build.sh +++ b/build.sh @@ -111,7 +111,7 @@ done # shellcheck disable=SC2154 for broken_image in "${broken_images[@]}"; do announce "Removing broken image ${broken_image}..." - find "${GLUON_OUTPUTDIR}/${GLUON_BRANCH}/images" -iname "${broken_image}" \( -type f -o -type l \) -ls -exec rm -f {} \; + find "${GLUON_OUTPUTDIR}/images" -iname "${broken_image}" \( -type f -o -type l \) -ls -exec rm -f {} \; done # Generate the images.list ( cd "${GLUON_OUTPUTDIR}/images" && ( find -type f ! -iname '*.manifest' ! -iname images.list; find -type l ! -iname '*.manifest' ) | sed -e 's!^\./\(.*\)$!\1!' -e 's!/! !g' | sort > images.list )