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

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Oct 12 21:46:03 BST 2006


Author: chris
Date: 2006-10-12 21:46:03 +0100 (Thu, 12 Oct 2006)
New Revision: 978

Modified:
   box/trunk/infrastructure/BoxPlatform.pm.in
Log:
 * use English as requested by Martin


Modified: box/trunk/infrastructure/BoxPlatform.pm.in
===================================================================
--- box/trunk/infrastructure/BoxPlatform.pm.in	2006-10-12 19:42:19 UTC (rev 977)
+++ box/trunk/infrastructure/BoxPlatform.pm.in	2006-10-12 20:46:03 UTC (rev 978)
@@ -1,5 +1,8 @@
 package BoxPlatform;
+
 use Exporter;
+use English;
+
 @ISA = qw/Exporter/;
 @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/;
 
@@ -12,7 +15,7 @@
 	$target_windows = 1 if $target_os =~ m'^mingw32' 
 		or $target_os eq "winnt";
 
-	if ($^O eq "MSWin32" and not -x "/usr/bin/uname")
+	if ($OSNAME eq "MSWin32" and not -x "/usr/bin/uname")
 	{
 		$build_os = "winnt";
 	}




More information about the Boxbackup-commit mailing list