projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a74a139
)
More arg-parsing bug fixes.
author
Tom Tromey
<tromey@redhat.com>
Sun, 12 Nov 1995 23:41:03 +0000
(23:41 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Sun, 12 Nov 1995 23:41:03 +0000
(23:41 +0000)
automake.in
patch
|
blob
|
history
diff --git
a/automake.in
b/automake.in
index
0b3e729
..
b4a5d2e
100755
(executable)
--- a/
automake.in
+++ b/
automake.in
@@
-32,6
+32,7
@@
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
mfiles=
+ok=no
while test $# -gt 0; do
case "$1" in
--help | --h* )
@@
-57,7
+58,8
@@
while test $# -gt 0; do
;;
* )
- mfiles="$mfiles $arg"
+ mfiles="$mfiles $1"
+ ok=yes
;;
esac
shift
@@
-65,7
+67,7
@@
done
# FIXME in this case, should look for Makefile.am, */Makefile.am and
# use those.
-if test
${#mfiles} -eq 0
; then
+if test
"$ok" = no
; then
echo "${usage}" 1>&2
exit 1
fi