From a184de906490e743430919c55a2d5099987d4d69 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 6 May 2012 21:41:28 +0200 Subject: [PATCH] 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 --- src/check-doc-syntax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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