From 6472e513b268e24caece30d46527711c5bd555e6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 14 Nov 1995 23:38:17 +0000 Subject: [PATCH] Minor cleanups --- automake.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/automake.in b/automake.in index 109462b6..f2ad7c61 100755 --- a/automake.in +++ b/automake.in @@ -36,7 +36,6 @@ 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* ) @@ -63,7 +62,6 @@ while test $# -gt 0; do * ) mfiles="$mfiles $1" - ok=yes ;; esac shift @@ -71,11 +69,10 @@ done # FIXME in this case, should look for Makefile.am, */Makefile.am and # use those. -if test "$ok" = no; then +test -n "$mfiles" || { echo "${usage}" 1>&2 exit 1 -fi -set $mfiles +} am_status=0 @@ -111,7 +108,7 @@ p s/^ *\([A-Z][A-Z0-9_]*\)[ ]*=[ ]*\(.*\)/\1='\2'/p EOF -for am_makefile +for am_makefile in $mfiles do if test ! -f ${am_makefile}.am; then echo "automake: ${am_makefile}.am: No such honkin' file" -- 2.43.5