From: Tom Tromey Date: Thu, 16 Nov 1995 09:31:57 +0000 (+0000) Subject: Entire body of 'for' loop now in subshell X-Git-Tag: Release-0-25~318 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=cbef0f51b1736fb80c3d2c3b49f5d41370d54fc8;p=automake.git Entire body of 'for' loop now in subshell --- 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