aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-05-04 10:33:14 -0700
committerMatt Friedman <maf675@gmail.com>2015-05-04 10:33:14 -0700
commit5a107d9dc1b5e11401caa7f3d7cafc4d4d0d4f7e (patch)
treea3a72a68c08485c4a93272d14d506190dba5f1d3 /travis
parent[ticket/13516] Do not search ICC profiles in extension vendors (diff)
downloadphpbb-5a107d9dc1b5e11401caa7f3d7cafc4d4d0d4f7e.tar.gz
phpbb-5a107d9dc1b5e11401caa7f3d7cafc4d4d0d4f7e.tar.bz2
phpbb-5a107d9dc1b5e11401caa7f3d7cafc4d4d0d4f7e.zip
[ticket/13516] Update image search script
PHPBB3-13516
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/check-image-icc-profiles.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis/check-image-icc-profiles.sh b/travis/check-image-icc-profiles.sh
index f526cce264..5926962d40 100755
--- a/travis/check-image-icc-profiles.sh
+++ b/travis/check-image-icc-profiles.sh
@@ -15,6 +15,6 @@ TRAVIS_PHP_VERSION=$2
if [ "$TRAVIS_PHP_VERSION" == "5.3.3" -a "$DB" == "mysqli" ]
then
- find . -type f -not -path './phpBB/*' -iregex '(vendor\|ext/vendor/).*\.\(gif\|jpg\|jpeg\|png\)$' | \
+ find . -type f -a -iregex '.*\.\(gif\|jpg\|jpeg\|png\)$' -a -not -wholename '*vendor/*' | \
parallel --gnu --keep-order 'phpBB/develop/strip_icc_profiles.sh {}'
fi