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
parent 62ba59a3cd
commit 0c0610ba80
2 changed files with 6 additions and 2 deletions

View File

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

View File

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