From 255a21151bcd4a9745818b0a3a19aa4c80cca20c Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Mon, 26 Apr 1999 18:08:50 +0000 Subject: [PATCH] Skip files that do not exist or cannot be created. (Previously it gave up in this case). --- build/autoconf/acoutput-fast.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/autoconf/acoutput-fast.pl b/build/autoconf/acoutput-fast.pl index 097677524fb4..30e74e4547b7 100755 --- a/build/autoconf/acoutput-fast.pl +++ b/build/autoconf/acoutput-fast.pl @@ -110,13 +110,13 @@ foreach $ac_file (@makefiles) { # mkdir $subdir, 0777 if not -d $subdir; - open (INFILE, "<$ac_file_in") - or die "Unable to open $ac_file_in\n"; - open (OUTFILE, ">$ac_file") - or die "Unable to create $ac_file\n"; - print STDERR "creating $ac_file\n"; + open (INFILE, "<$ac_file_in") + or ( warn "can't read $ac_file_in: No such file or directory\n" and next); + open (OUTFILE, ">$ac_file") + or ( warn "Unable to create $ac_file\n" and next); + while () { if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) { #warn "Two defines on a line:$ac_file:$.:$_";