bug 509266 - Sisyphus - Ubuntu 9.04 issues: will not read environment strings from set pipe, autoconf detection, r=ctalbert.

This commit is contained in:
Bob Clary 2009-08-18 00:29:59 -07:00
Родитель 21083e2f09
Коммит 147d60ff82
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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;