зеркало из https://github.com/mozilla/gecko-dev.git
Pass the file to preprocess on the command line instead of via stdin, so that includes work. Only affects phoenix builds. r=hixie, sr=blake.
This commit is contained in:
Родитель
c256b443cd
Коммит
780d62156b
|
@ -325,7 +325,7 @@ sub EnsureFileInDir
|
|||
}
|
||||
unlink $destPath; # in case we had a symlink on unix
|
||||
if ($preproc) {
|
||||
if (system("$^X $preprocessor $defines < $file > $destPath") != 0) {
|
||||
if (system("$^X $preprocessor $defines $file > $destPath") != 0) {
|
||||
die "Preprocessing of $file failed: $!";
|
||||
}
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче