[Box Backup-commit] COMMIT r1354 - box/chris/general/infrastructure

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Mar 4 22:50:26 GMT 2007


Author: chris
Date: 2007-03-04 22:50:26 +0000 (Sun, 04 Mar 2007)
New Revision: 1354

Modified:
   box/chris/general/infrastructure/BoxPlatform.pm.in
Log:
Remove unused variable $build_cpu


Modified: box/chris/general/infrastructure/BoxPlatform.pm.in
===================================================================
--- box/chris/general/infrastructure/BoxPlatform.pm.in	2007-03-04 22:48:42 UTC (rev 1353)
+++ box/chris/general/infrastructure/BoxPlatform.pm.in	2007-03-04 22:50:26 UTC (rev 1354)
@@ -1,7 +1,7 @@
 package BoxPlatform;
 use Exporter;
 @ISA = qw/Exporter/;
- at EXPORT = qw/$build_os $build_cpu $target_os $make_command $bsd_make $platform_define $platform_cpu $gcc_v3 $product_version $product_name $install_into_dir $sub_make_options $platform_compile_line_extra $platform_link_line_extra $platform_lib_files $platform_exe_ext $target_windows/;
+ at EXPORT = qw/$build_os $target_os $make_command $bsd_make $platform_define $platform_cpu $gcc_v3 $product_version $product_name $install_into_dir $sub_make_options $platform_compile_line_extra $platform_link_line_extra $platform_lib_files $platform_exe_ext $target_windows/;
 
 BEGIN
 {
@@ -15,19 +15,15 @@
 	if ($^O eq "MSWin32" and not -x "/usr/bin/uname")
 	{
 		$build_os = "winnt";
-		$build_cpu = "ix86";
 	}
 	else
 	{
 		$build_os = `uname`;
 		chomp $build_os;
-		$build_cpu = `uname -m`;
-		chomp $build_cpu;
 	}
 
 	# Cygwin Builds usually something like CYGWIN_NT-5.0, CYGWIN_NT-5.1
 	# Box Backup tried on Win2000,XP only :)
-
 	$build_os = 'CYGWIN' if $build_os =~ m/CYGWIN/;
 
 	$make_command = ($build_os eq 'Darwin') ? 'bsdmake' : ($build_os eq 'SunOS') ? 'gmake' : 'make';




More information about the Boxbackup-commit mailing list