[HarfBuzz] harfbuzz-ng: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Fri Aug 5 17:09:33 PDT 2011
src/check-header-guards.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 54eb65538da0a6ab0389d09944c90e12a913157d
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Fri Aug 5 20:09:25 2011 -0400
Fix check on OS X sh
diff --git a/src/check-header-guards.sh b/src/check-header-guards.sh
index dc1893c..4dd2a0b 100755
--- a/src/check-header-guards.sh
+++ b/src/check-header-guards.sh
@@ -15,7 +15,7 @@ for x in $HBHEADERS $HBSOURCES; do
echo "$x" | grep '[^h]$' -q && continue;
xx=`echo "$x" | sed 's at .*/@@'`
tag=`echo "$xx" | tr 'a-z.-' 'A-Z_'`
- lines=`grep "\<$tag\>" "$x" | wc -l`
+ 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
More information about the HarfBuzz
mailing list