]> sourceware.org Git - automake.git/commitdiff
Entire body of 'for' loop now in subshell
authorTom Tromey <tromey@redhat.com>
Thu, 16 Nov 1995 09:31:57 +0000 (09:31 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 16 Nov 1995 09:31:57 +0000 (09:31 +0000)
automake.in

index f576e7a08ebc94bbd8f71d804a9aa7a8a8b594c5..393f0dac9786719e2927736bfd5f8526dd5a0c7a 100755 (executable)
@@ -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
This page took 0.027421 seconds and 5 git commands to generate.