From 53babf38acb748625773159300772b9b31214e98 Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Sun, 17 Feb 2002 11:20:51 +0000 Subject: [PATCH] cat $(MDDEPEND_FILES) since < only redirects the first file. Use instead of <> to clear up potential ambigiousness. r=bryner --- build/unix/mddepend.pl | 2 +- config/rules.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/unix/mddepend.pl b/build/unix/mddepend.pl index 9654e7cad89..af65168e4c6 100755 --- a/build/unix/mddepend.pl +++ b/build/unix/mddepend.pl @@ -48,7 +48,7 @@ while ($line = ) { } $deps = [ $obj, split /\s+/, $rest ]; - while ($hasSlash and $line = <>) { + while ($hasSlash and $line = ) { chomp $line; if ($line =~ /\\$/) { chop $line; diff --git a/config/rules.mk b/config/rules.mk index 165d4d3d79f..6a03ed3b794 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -1545,7 +1545,7 @@ ifdef PERL # because it handles the case when header files are removed from the build. # 'make' would complain that there is no way to build missing headers. $(MDDEPDIR)/.all.pp: FORCE - @$(PERL) $(BUILD_TOOLS)/mddepend.pl $@ < $(MDDEPEND_FILES) + @cat $(MDDEPEND_FILES) | $(PERL) $(BUILD_TOOLS)/mddepend.pl $@ -include $(MDDEPDIR)/.all.pp else include $(MDDEPEND_FILES)