summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-09 23:42:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-09 23:42:48 +0300
commitbbbe878c9c4653a32eda230e6409bd0fb06f8118 (patch)
tree77ba2dea0a47e7fd6612f7eb8c63ff8e8fdcb8cf
parent3ddf3007378c7fb4dc09c6f89e2a42beb2c31915 (diff)
downloadevol-tools-bbbe878c9c4653a32eda230e6409bd0fb06f8118.tar.gz
evol-tools-bbbe878c9c4653a32eda230e6409bd0fb06f8118.tar.bz2
evol-tools-bbbe878c9c4653a32eda230e6409bd0fb06f8118.tar.xz
evol-tools-bbbe878c9c4653a32eda230e6409bd0fb06f8118.zip
Add option to follow symlinks in some tools.s20160719
-rwxr-xr-ximagescheck/icccheck.sh2
-rwxr-xr-xlicensecheck/clientdata.sh4
-rwxr-xr-xtestxml/xsdcheck.sh2
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