зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
240ea65549
Коммит
53babf38ac
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче