diff options
author | Alban Bedel <alban.bedel@avionic-design.de> | 2014-09-22 11:53:13 +0200 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-09-22 19:37:52 +0100 |
commit | 1f994f301402bebea5d528ddd29f5d251cbcde1f (patch) | |
tree | 1b938060b217b1673b9fc72ed524e3a8eb5185e5 /man | |
parent | f51c44bd1e7f22c7b65a20d9ced747ac63f0fc16 (diff) | |
download | coreutils-1f994f301402bebea5d528ddd29f5d251cbcde1f.tar.xz |
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
Diffstat (limited to 'man')
-rwxr-xr-x | man/dummy-man | 2 |
1 files changed, 1 insertions, 1 deletions
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 <<END |