summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-10-02 14:35:35 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-10-31 21:16:44 -0500
commite4ff87ea596ce6316b1cad8008cb5436eef9a86b (patch)
tree8ae051c0b148acc006f705f1717ba44243dc523e
parent372e631a833c3d61b03804c3184359002b1861f3 (diff)
[check-headers.sh] Don't use '\>' regexp syntax
(cherry picked from 1e0e2075090c181dcd9f431833a8a9c2665d763e commit)
-rwxr-xr-xsrc/check-headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check-headers.sh b/src/check-headers.sh
index 1e8d59001..91a52a015 100755
--- a/src/check-headers.sh
+++ b/src/check-headers.sh
@@ -12,7 +12,7 @@ xargs grep -B 1 '^cairo_.*[ ]\+(' |
awk '
/^--$/ { context=""; public=0; next; }
/:cairo_.*[ ]+\(/ { if (!public) {print context; print; print "--";} next; }
-/-cairo_public\>/ {public=1;}
+/-cairo_public[ ]/ {public=1;}
{ context=$0; }
' |
sed 's/[.]h-/.h:/' |