summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-20 20:21:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-20 20:21:34 +0300
commit5bb8730a81a812c9dbceadfd2e38377fc2d79518 (patch)
tree96b1bbe6d5fbc5550303a43b391f420560e3395f /tools
parent8bbae3c2e6a15e14114c0324a79bb35734206bd0 (diff)
downloadmanaplus-5bb8730a81a812c9dbceadfd2e38377fc2d79518.tar.gz
manaplus-5bb8730a81a812c9dbceadfd2e38377fc2d79518.tar.bz2
manaplus-5bb8730a81a812c9dbceadfd2e38377fc2d79518.tar.xz
manaplus-5bb8730a81a812c9dbceadfd2e38377fc2d79518.zip
In find in ci scripts allow search in soft links.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/jobs/imagemagiccheck.sh2
-rwxr-xr-xtools/ci/jobs/pngcheck.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ci/jobs/imagemagiccheck.sh b/tools/ci/jobs/imagemagiccheck.sh
index 3d7476868..eed0958a4 100755
--- a/tools/ci/jobs/imagemagiccheck.sh
+++ b/tools/ci/jobs/imagemagiccheck.sh
@@ -9,7 +9,7 @@ export LOG="logs/icccheck.log"
mkdir logs
rm ${LOG}
-find $DIR -type f -name "*.png" -exec ./tools/ci/scripts/icccheckfile.sh {} \; >${LOG}
+find -H $DIR -type f -name "*.png" -exec ./tools/ci/scripts/icccheckfile.sh {} \; >${LOG}
check_error $?
export RES=$(cat ${LOG})
diff --git a/tools/ci/jobs/pngcheck.sh b/tools/ci/jobs/pngcheck.sh
index 8a44e1f41..19c690402 100755
--- a/tools/ci/jobs/pngcheck.sh
+++ b/tools/ci/jobs/pngcheck.sh
@@ -10,7 +10,7 @@ export LOG2="pngcheck2.log"
rm ${LOG1}
rm ${LOG2}
-find data -type f -name "*.png" -exec pngcheck {} \; >${LOG1}
+find -H . -type f -name "*.png" -exec pngcheck {} \; >${LOG1}
grep -v "32-bit RGB+alpha, non-interlaced, " ${LOG1} >${LOG2}
export DATA=$(cat pngcheck2.log)