diff options
Diffstat (limited to 'tools/ci/jobs/imagemagiccheck.sh')
-rwxr-xr-x | tools/ci/jobs/imagemagiccheck.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/ci/jobs/imagemagiccheck.sh b/tools/ci/jobs/imagemagiccheck.sh index 564026f1c..6d2e75060 100755 --- a/tools/ci/jobs/imagemagiccheck.sh +++ b/tools/ci/jobs/imagemagiccheck.sh @@ -10,9 +10,8 @@ rm ${LOG} find -H $DIR -type f -name "*.png" -exec ./tools/ci/scripts/icccheckfile.sh {} \; >${LOG} check_error $? -export RES=$(cat ${LOG}) -if [[ -n "${RES}" ]]; then - echo "Detected icc profiles" +if [[ -s "$LOG" ]]; then + echo "Detected icc profiles:" cat ${LOG} exit 1 fi |