From cbef0f51b1736fb80c3d2c3b49f5d41370d54fc8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 16 Nov 1995 09:31:57 +0000 Subject: [PATCH] Entire body of 'for' loop now in subshell --- automake.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automake.in b/automake.in index f576e7a0..393f0dac 100755 --- a/automake.in +++ b/automake.in @@ -131,8 +131,8 @@ s/^ *\([A-Z][A-Z0-9_]*\)[ ]*=[ ]*\(.*\)/\1='\2'/p s/^ *\([A-Za-z][A-Za-z0-9_]*\)[ ]*=[ ]*\(.*\)/var_\1=explicit/p EOF -for am_makefile in $mfiles -do +for am_makefile in $mfiles; do +( if test ! -f ${am_makefile}.am; then echo "automake: ${am_makefile}.am: No such honkin' file" 1>&2 am_status=1 @@ -313,6 +313,7 @@ ${am_file}_OBJECTS = ${am_file}.${kr}o" >&4 cat ${am_makefile}.vars ${am_makefile}.rules > ${am_makefile}.in rm -f ${am_makefile}.vars ${am_makefile}.rules +) done rm -f $am_rmnl $am_ass -- 2.43.5