From bbbe878c9c4653a32eda230e6409bd0fb06f8118 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Jul 2016 23:42:48 +0300 Subject: Add option to follow symlinks in some tools. --- imagescheck/icccheck.sh | 2 +- licensecheck/clientdata.sh | 4 ++-- testxml/xsdcheck.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/imagescheck/icccheck.sh b/imagescheck/icccheck.sh index 20d47a4..f9cdc72 100755 --- a/imagescheck/icccheck.sh +++ b/imagescheck/icccheck.sh @@ -2,4 +2,4 @@ export DIR="../../client-data" -find $DIR -type f -name "*.png" -exec ./icccheckfile.sh {} \; +find -H $DIR -type f -name "*.png" -exec ./icccheckfile.sh {} \; diff --git a/licensecheck/clientdata.sh b/licensecheck/clientdata.sh index 9d678d9..cf63fa8 100755 --- a/licensecheck/clientdata.sh +++ b/licensecheck/clientdata.sh @@ -2,5 +2,5 @@ export DIR="../../client-data" -find $DIR -type f -name "*.png" -exec ./checkfile.sh $DIR/LICENSE {} \; -find $DIR/sfx -type f -name "*.ogg" -exec ./checkfile.sh $DIR/LICENSE {} \; +find -H $DIR -type f -name "*.png" -exec ./checkfile.sh $DIR/LICENSE {} \; +find -H $DIR/sfx -type f -name "*.ogg" -exec ./checkfile.sh $DIR/LICENSE {} \; diff --git a/testxml/xsdcheck.sh b/testxml/xsdcheck.sh index ca5fe30..648cb5d 100755 --- a/testxml/xsdcheck.sh +++ b/testxml/xsdcheck.sh @@ -47,4 +47,4 @@ check status-effects.xml check units.xml check weapons.xml -find "${DIR}/graphics" -type f -name "*.xml" -exec ./checkfile.sh {} \; >>../errors.txt +find -H "${DIR}/graphics" -type f -name "*.xml" -exec ./checkfile.sh {} \; >>../errors.txt -- cgit v1.2.3-70-g09d2