зеркало из https://github.com/mozilla/gecko-dev.git
In some shells, carriage returns are "\n"; in others, "\r\n". Look for either possibility -
This commit is contained in:
Родитель
b6c17ba0bb
Коммит
d01c71b92c
|
@ -810,7 +810,7 @@ sub expand_user_test_list {
|
|||
die("Error opening test list file '$list_file': $!\n");
|
||||
|
||||
while (<TESTLIST>) {
|
||||
s/\n$//;
|
||||
s/\r*\n*$//;
|
||||
if (!(/\s*\#/)) {
|
||||
# It's not a comment, so process it
|
||||
push (@retval, &expand_test_list_entry($_));
|
||||
|
|
Загрузка…
Ссылка в новой задаче