[Box Backup-commit] COMMIT r2561 - box/trunk/infrastructure

subversion at boxbackup.org subversion
Mon Sep 21 23:53:57 BST 2009


Author: chris
Date: 2009-09-21 23:53:56 +0100 (Mon, 21 Sep 2009)
New Revision: 2561

Modified:
   box/trunk/infrastructure/BoxPlatform.pm.in
Log:
Print info lines to STDERR so that they don't confuse the configure
scripts when they capture stdout to get the box version, for example.


Modified: box/trunk/infrastructure/BoxPlatform.pm.in
===================================================================
--- box/trunk/infrastructure/BoxPlatform.pm.in	2009-09-17 22:23:39 UTC (rev 2560)
+++ box/trunk/infrastructure/BoxPlatform.pm.in	2009-09-21 22:53:56 UTC (rev 2561)
@@ -89,14 +89,14 @@
 		my $cpus = `sysctl hw.ncpu`;
 		if($cpus =~ m/hw.ncpu:\s(\d+)/ && $1 > 1)
 		{
-			print "$1 processors detected, will set make to perform concurrent jobs\n";
+			print STDERR "$1 processors detected, will set make to perform concurrent jobs\n";
 			$sub_make_options = ' -j '.($1 + 1);
 		}
 		
 		# test for fink installation
 		if(-d '/sw/include' && -d '/sw/lib')
 		{
-			print "Fink installation detected, will use headers and libraries\n";
+			print STDERR "Fink installation detected, will use headers and libraries\n";
 			$platform_compile_line_extra = '-I/sw/include ';
 			$platform_link_line_extra = '-L/sw/lib ';
 		}




More information about the Boxbackup-commit mailing list