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
This commit is contained in:
Alban Bedel authored and Pádraig Brady committed 2014-09-22 19:37:52 +01:00
1 parent f51c44bd1e
commit 1f994f3014
1 file changed
+1 -1
+1 -1
View File
@@ -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 <<END