Skip to content

Commit

Permalink
Merge pull request #52 from zuphilip/find-symlinks
Browse files Browse the repository at this point in the history
Use find -L to follow symlinks in lib.sh
  • Loading branch information
zuphilip authored Feb 25, 2017
2 parents ef6f784 + 282e639 commit 77da2f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ declare -Ax OCR_VALIDATORS=()
# setup_transformations ()
setup_transformations () {
declare -a transformers=($(
find "$SHAREDIR/xslt" "$SHAREDIR/script/transform" \
find -L "$SHAREDIR/xslt" "$SHAREDIR/script/transform" \
! -type d \( -name '*.xsl' -or -perm -005 \) \
))
local in_fmt out_fmt
Expand All @@ -68,7 +68,7 @@ setup_transformations () {
# setup_validations ()
setup_validations () {
declare -a validators=($(
find "$SHAREDIR/xsd" "$SHAREDIR/script/validate" \
find -L "$SHAREDIR/xsd" "$SHAREDIR/script/validate" \
! -type d \( -name '*.xsd' -or -perm -005 \) \
|sort))
local path fmt
Expand Down

0 comments on commit 77da2f4

Please sign in to comment.