summaryrefslogtreecommitdiff
path: root/src/check-doc-syntax.awk
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2013-09-15 16:58:05 +0200
committerUli Schlachter <psychon@znc.in>2013-09-16 12:57:57 +0200
commit966bf2fe6a8c29f4d10b20f982a4ab198a441c78 (patch)
tree7932a63421398d4341147c8bc0abad8cce746274 /src/check-doc-syntax.awk
parenta8a805b8d9bbbfed9986ecc71e76859a5353730f (diff)
downloadcairo-966bf2fe6a8c29f4d10b20f982a4ab198a441c78.tar.gz
check-doc-syntax: Don't hardcode path to awk
Instead of expecting awk in /usr/bin, this commit changes the code to call awk through a shell so that $PATH is searched. Since this awk script shouldn't really be called manually, this is done by removing the shebang from the awk script, marking it non-executable and fixing up the caller. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67674 Reviewed-by: Bryce Harrington <b.harrington@samsung.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/check-doc-syntax.awk')
-rw-r--r--[-rwxr-xr-x]src/check-doc-syntax.awk2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/check-doc-syntax.awk b/src/check-doc-syntax.awk
index 5fdabdac9..1fa8b8d22 100755..100644
--- a/src/check-doc-syntax.awk
+++ b/src/check-doc-syntax.awk
@@ -1,5 +1,3 @@
-#!/usr/bin/awk -f
-
BEGIN {
name_found = 1
SECTION_DOC = 0