cat $(MDDEPEND_FILES) since < only redirects the first file. Use <STDIN> instead of <> to clear up potential ambigiousness. r=bryner

This commit is contained in:
seawood%netscape.com 2002-02-17 11:20:51 +00:00
Родитель 240ea65549
Коммит 53babf38ac
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -48,7 +48,7 @@ while ($line = <STDIN>) {
}
$deps = [ $obj, split /\s+/, $rest ];
while ($hasSlash and $line = <>) {
while ($hasSlash and $line = <STDIN>) {
chomp $line;
if ($line =~ /\\$/) {
chop $line;

Просмотреть файл

@ -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)