Skip to content

Commit

Permalink
Minor fix to validate-distribution.sh to cover all image directories CTR
Browse files Browse the repository at this point in the history
  • Loading branch information
spmallette committed Mar 19, 2019
1 parent 821e69f commit 81b581f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/validate-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ if [ "${TYPE}" = "SOURCE" ]; then
cd ${DIR_NAME}
echo -n "* checking source files ... "
find . -type f | xargs -n1 -I {} file {} --mime | grep 'charset=binary' | cut -f1 -d: |
grep -Pv '^\./docs/(static|(site/home))/images/((icons|logos|policy|resources)/)?[^/]*\.(png|jpg|ico|pdf)$' |
grep -Pv '^\./docs/(static|(site/home))/(img|images)/((icons|logos|policy|resources)/)?[^/]*\.(png|jpg|ico|pdf)$' |
grep -Pv '^./gremlin-dotnet/src/images/[^/]*\.(png|ico)$' |
grep -Pv '^./gremlin-dotnet/.*\.snk$' |
grep -Pv '^./gremlin-server/src/test/resources/[^/]*\.(p12|jks)$' |
Expand Down

0 comments on commit 81b581f

Please sign in to comment.