diff --git a/.github/workflows/check_scripts/images_exist.sh b/.github/workflows/check_scripts/images_exist.sh index d162cb9..4c5fbb0 100755 --- a/.github/workflows/check_scripts/images_exist.sh +++ b/.github/workflows/check_scripts/images_exist.sh @@ -12,9 +12,9 @@ awk '/^[[:blank:]]*image: / { if [[ $ymlfile == *TEMPLATE* ]]; then continue fi + imgfile=$(tr -dc '[[:print:]]' <<< "$imgfile") # remove non printable character if [ ! -e "$imgfile" ]; then - printf '%s (from %s) does not exist\n' \ - "$imgfile" "$ymlfile" >&2 + echo "Achtung: $imgfile (from $ymlfile) does not exist\n" >&2 success=false fi done