X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=DOCS%2Fvalidator.sh;h=931964e3fa8e3b65580ce1f3a49e5f28c5faffad;hp=95539002a0eabe87b71abcf1912d9f9d18c36c9d;hb=3e2e8ea82079f4e76b8add38efccf6c24afda507;hpb=ae80e170b5d25a4782af90a7c3d81fbb176fa293 diff --git a/DOCS/validator.sh b/DOCS/validator.sh old mode 100644 new mode 100755 index 95539002a0..931964e3fa --- a/DOCS/validator.sh +++ b/DOCS/validator.sh @@ -1,3 +1,5 @@ #!/bin/sh -find templates/de/html/ -type f -name *.tpl -exec php DOCS/tpl-validator.php {} \; | grep Warning | cut -d "/" -f 1-5 | grep -v "error parsing attribute name">warnings.log +echo "$0: Validating all templates..." +find templates/de/html/ -type f -name *.tpl -exec php DOCS/tpl-validator.php {} \; | grep Warning | cut -d "/" -f 1-5 | grep -v "error parsing attribute name" > `dirname $0`/template-warnings.log +echo "$0: done."