From 6c47f6823e3eae2ac40fc58789629860bb7e7671 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 25 Aug 2004 11:39:03 +0000 Subject: [PATCH] - No, I really do want that debug output. :-) - Make the "uname" stderr go to /dev/null -- it's not the same on all platforms (grumble) This commit was SVN r2294. --- contrib/nightly/build_tarball.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/nightly/build_tarball.pl b/contrib/nightly/build_tarball.pl index f6cb220521..14be6fc827 100755 --- a/contrib/nightly/build_tarball.pl +++ b/contrib/nightly/build_tarball.pl @@ -83,6 +83,7 @@ sub test_abort { sub do_command { my ($merge_output, $cmd) = @_; + print "*** Running command: $cmd\n" if ($debug); pipe OUTread, OUTwrite; pipe ERRread, ERRwrite if (!$merge_output); @@ -488,10 +489,10 @@ our @email_output; my $ret; # prefix the e-mail -my $unamen = `uname -n`; -my $unameo = `uname -o`; -my $unamer = `uname -r`; -my $unamem = `uname -m`; +my $unamen = `uname -n 2>/dev/null`; +my $unameo = `uname -o 2>/dev/null`; +my $unamer = `uname -r 2>/dev/null`; +my $unamem = `uname -m 2>/dev/null`; chomp($unamen); chomp($unameo); chomp($unamer);