diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-19 13:55:16 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-19 13:55:16 +0000 |
commit | 509ffbd4e19a96a5e56121efeb6ad9f6ab5a907f (patch) | |
tree | 6d0d6bce1dc027d6c73f130fcdfa208321b5d867 /Build/source/libs/harfbuzz/harfbuzz-0.9.11/src/check-header-guards.sh | |
parent | 23572094108e4349be44a0bc25de5c084a30ba34 (diff) |
harfbuzz 0.9.12
git-svn-id: svn://tug.org/texlive/trunk@28873 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-0.9.11/src/check-header-guards.sh')
-rwxr-xr-x | Build/source/libs/harfbuzz/harfbuzz-0.9.11/src/check-header-guards.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-0.9.11/src/check-header-guards.sh b/Build/source/libs/harfbuzz/harfbuzz-0.9.11/src/check-header-guards.sh deleted file mode 100755 index af9fa7fc24e..00000000000 --- a/Build/source/libs/harfbuzz/harfbuzz-0.9.11/src/check-header-guards.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -LC_ALL=C -export LC_ALL - -test -z "$srcdir" && srcdir=. -stat=0 - -test "x$HBHEADERS" = x && HBHEADERS=`find . -maxdepth 1 -name 'hb*.h'` -test "x$HBSOURCES" = x && HBSOURCES=`find . -maxdepth 1 -name 'hb-*.cc' -or -name 'hb-*.hh'` - - -for x in $HBHEADERS $HBSOURCES; do - test -f "$srcdir/$x" && x="$srcdir/$x" - echo "$x" | grep '[^h]$' -q && continue; - xx=`echo "$x" | sed 's@.*/@@'` - tag=`echo "$xx" | tr 'a-z.-' 'A-Z_'` - lines=`grep "\<$tag\>" "$x" | wc -l | sed 's/[ ]*//g'` - if test "x$lines" != x3; then - echo "Ouch, header file $x does not have correct preprocessor guards" - stat=1 - fi -done - -exit $stat |