From 1f994f301402bebea5d528ddd29f5d251cbcde1f Mon Sep 17 00:00:00 2001 From: Alban Bedel Date: Mon, 22 Sep 2014 11:53:13 +0200 Subject: build: fix an inverted test breaking dummy-man * man/dummy-man: Fix argument count check, allowing dummy-man to run (on systems without perl). Fixes http://bugs.gnu.org/18531 --- man/dummy-man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/dummy-man b/man/dummy-man index bf31912b2..65b85d555 100755 --- a/man/dummy-man +++ b/man/dummy-man @@ -39,7 +39,7 @@ while test $# -gt 0; do done test $# -gt 0 || fatal_ "missing argument" -test $# -le 1 || fatal_ "too many non-option arguments" +test $# -gt 1 || fatal_ "too many non-option arguments" baseout=`basename_ "$output"` sed 's/^/WARNING: /' >&2 <