зеркало из https://github.com/mozilla/gecko-dev.git
Treat cygwin perl as a win32 platform indicator.
Default to unix if platform is neither win32 nor mac. Bug #166105 r=gerv a=asa
This commit is contained in:
Родитель
444e4babc7
Коммит
0821f71644
|
@ -68,9 +68,9 @@ my $nofilelocks = $flock ? ($flock eq "-l") : 0;
|
|||
# chrome your platform uses. There are currently three sorts of chrome:
|
||||
# win, mac, and unix.
|
||||
|
||||
my $win32 = ($^O =~ /((MS)?win32)|os2/i) ? 1 : 0;
|
||||
my $unix = ($^O =~ /linux/i) ? 1 : 0;
|
||||
my $win32 = ($^O =~ /((MS)?win32)|cygwin|os2/i) ? 1 : 0;
|
||||
my $macos = ($^O =~ /MacOS|darwin/i) ? 1 : 0;
|
||||
my $unix = !($win32 || $macos) ? 1 : 0;
|
||||
|
||||
# Testing only - generate chromelist.txt for other platforms
|
||||
# $macos = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче