зеркало из https://github.com/mozilla/gecko-dev.git
bug 509266 - Sisyphus - Ubuntu 9.04 issues: will not read environment strings from set pipe, autoconf detection, r=ctalbert.
This commit is contained in:
Родитель
64724b1ef9
Коммит
636dac0393
|
@ -126,6 +126,8 @@ case $product in
|
|||
AUTOCONF=autoconf-2.13
|
||||
elif findprogram autoconf-2.13; then
|
||||
AUTOCONF=autoconf-2.13
|
||||
elif findprogram autoconf2.13; then
|
||||
AUTOCONF=autoconf2.13
|
||||
elif findprogram autoconf213; then
|
||||
AUTOCONF=autoconf213
|
||||
else
|
||||
|
|
|
@ -49,8 +49,10 @@ my $ulimit_virtualmemory = 0;
|
|||
my $test_memory = 0;
|
||||
|
||||
# hack around lack of available environment entries in both
|
||||
# cygwin perl and redhat perl
|
||||
open OSTYPE, "set | grep OSTYPE |" || die "Unable to open OSTYPE: $!";
|
||||
# cygwin perl and redhat perl.
|
||||
# Note the bash -c set is required for ubuntu 9.04 otherwise the
|
||||
# OSTYPE file will return no data. I don't know why.
|
||||
open OSTYPE, "bash -c set | grep OSTYPE |" || die "Unable to open OSTYPE: $!";
|
||||
while (<OSTYPE>)
|
||||
{
|
||||
chomp;
|
||||
|
|
Загрузка…
Ссылка в новой задаче