1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/bin/env bash source ./tools/ci/scripts/init.sh export LOG="logs/icccheck.log" mkdir logs rm ${LOG} find -H $DIR -type f -name "*.png" -exec ./tools/ci/scripts/icccheckfile.sh {} \; >${LOG} check_error $? if [[ -s "$LOG" ]]; then echo "Detected icc profiles:" cat ${LOG} exit 1 fi