build.sh: fix remove known-broken images after the build

This commit is contained in:
Daniel Frank 2019-08-18 23:55:55 +02:00
parent 50b79c0dc4
commit 74088a18a9
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -112,7 +112,7 @@ done
# shellcheck disable=SC2154 # shellcheck disable=SC2154
for broken_image in "${broken_images[@]}"; do for broken_image in "${broken_images[@]}"; do
announce "Removing broken image ${broken_image}..." 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 done
# Generate the images.list # Generate the images.list
# shellcheck disable=SC2094 # shellcheck disable=SC2094