зеркало из https://github.com/mozilla/pjs.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:
Родитель
21083e2f09
Коммит
147d60ff82
|
@ -126,6 +126,8 @@ case $product in
|
||||||
AUTOCONF=autoconf-2.13
|
AUTOCONF=autoconf-2.13
|
||||||
elif findprogram autoconf-2.13; then
|
elif findprogram autoconf-2.13; then
|
||||||
AUTOCONF=autoconf-2.13
|
AUTOCONF=autoconf-2.13
|
||||||
|
elif findprogram autoconf2.13; then
|
||||||
|
AUTOCONF=autoconf2.13
|
||||||
elif findprogram autoconf213; then
|
elif findprogram autoconf213; then
|
||||||
AUTOCONF=autoconf213
|
AUTOCONF=autoconf213
|
||||||
else
|
else
|
||||||
|
|
|
@ -49,8 +49,10 @@ my $ulimit_virtualmemory = 0;
|
||||||
my $test_memory = 0;
|
my $test_memory = 0;
|
||||||
|
|
||||||
# hack around lack of available environment entries in both
|
# hack around lack of available environment entries in both
|
||||||
# cygwin perl and redhat perl
|
# cygwin perl and redhat perl.
|
||||||
open OSTYPE, "set | grep OSTYPE |" || die "Unable to open OSTYPE: $!";
|
# 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>)
|
while (<OSTYPE>)
|
||||||
{
|
{
|
||||||
chomp;
|
chomp;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче