mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
build: fix argument count check in dummy-man again
* man/dummy-man: Fix argument count check, now only permitting exactly 1 argument, the program name. Reported by Andreas Schwab <schwab@linux-m68k.org>
This commit is contained in:
1 parent
1f994f3014
commit
bf2057b20b
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ while test $# -gt 0; do
|
||||
done
|
||||
|
||||
test $# -gt 0 || fatal_ "missing argument"
|
||||
test $# -gt 1 || fatal_ "too many non-option arguments"
|
||||
test $# -le 1 || fatal_ "too many non-option arguments"
|
||||
|
||||
baseout=`basename_ "$output"`
|
||||
sed 's/^/WARNING: /' >&2 <<END
|
||||
|
||||
Reference in new issue
Block a user