Skip to content

Commit

Permalink
fix test path qhen non printable chracter exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Mar 26, 2024
1 parent e967848 commit 9e529c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_scripts/images_exist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e529c0

Please sign in to comment.