diff options
author | Uli Schlachter <psychon@znc.in> | 2012-05-06 21:41:28 +0200 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2012-05-09 16:59:58 +0200 |
commit | a184de906490e743430919c55a2d5099987d4d69 (patch) | |
tree | e46ba1f12720c33da198bcbedadddf52625d3b0e | |
parent | 3e02dccb97ad12a13db0b66aba3927c78f6d08e9 (diff) |
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>
-rwxr-xr-x | src/check-doc-syntax.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check-doc-syntax.sh b/src/check-doc-syntax.sh index bfda7a20..c74fb875 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 |