diff options
author | lloyd <[email protected]> | 2008-09-30 13:59:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-30 13:59:28 +0000 |
commit | 5ce774798f403ff45017f931ee43b8b8b5c2fc3c (patch) | |
tree | 08008b1a292cfa2dd9b3294ed0c89bdf1c52e2b7 /configure.pl | |
parent | 9755157a967ea508f1fdc1d5365f8214553c7086 (diff) |
Do not redirect 2> to /dev/null when exec'ing uname. It causes
problems on MSYS. And doesn't have any real advantage that I can see...
Diffstat (limited to 'configure.pl')
-rwxr-xr-x | configure.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.pl b/configure.pl index 29713b30e..258e784bb 100755 --- a/configure.pl +++ b/configure.pl @@ -2039,7 +2039,7 @@ sub guess_os trace("Can't guess os from $^O"); - my $uname = `uname -s 2>/dev/null`; + my $uname = `uname -s`; chomp $uname; $uname = lc $uname; @@ -2103,7 +2103,7 @@ sub guess_cpu # `umame -p` is sometimes something stupid like unknown, but in some # cases it can be more specific (useful) than `uname -m` - my $cpu = guess_cpu_from_this(`uname -p 2>/dev/null`); + my $cpu = guess_cpu_from_this(`uname -p`); if($cpu ne '') { @@ -2112,7 +2112,7 @@ sub guess_cpu } # Try uname -m - $cpu = guess_cpu_from_this(`uname -m 2>/dev/null`); + $cpu = guess_cpu_from_this(`uname -m`); if($cpu ne '') { |