summaryrefslogtreecommitdiff
path: root/src/check-doc-syntax.sh
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2012-05-06 21:41:28 +0200
committerUli Schlachter <psychon@znc.in>2012-05-09 16:59:58 +0200
commita184de906490e743430919c55a2d5099987d4d69 (patch)
treee46ba1f12720c33da198bcbedadddf52625d3b0e /src/check-doc-syntax.sh
parent3e02dccb97ad12a13db0b66aba3927c78f6d08e9 (diff)
downloadcairo-a184de906490e743430919c55a2d5099987d4d69.tar.gz
check-doc-syntax: Make this work again
Commit ed90616b77570 changed the way the awk script gets invoked. Due to a missing "test", this resulted in the awk script never getting invoked at all. Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/check-doc-syntax.sh')
-rwxr-xr-xsrc/check-doc-syntax.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check-doc-syntax.sh b/src/check-doc-syntax.sh
index bfda7a206..c74fb875d 100755
--- a/src/check-doc-syntax.sh
+++ b/src/check-doc-syntax.sh
@@ -71,7 +71,7 @@ if echo $FILES | xargs grep "$note_regexp" /dev/null; then
fi >&2
# Only run the syntax checker on the source files (not doc/)
-if -e ./check-doc-syntax.awk; then
+if test -e ./check-doc-syntax.awk; then
if echo $FILES | xargs ./check-doc-syntax.awk ; then
:
else