incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yda...@apache.org
Subject svn commit: r1290841 - /incubator/ooo/trunk/main/solenv/bin/modules/installer/systemactions.pm
Date Sat, 18 Feb 2012 18:34:11 GMT
Author: ydario
Date: Sat Feb 18 18:34:11 2012
New Revision: 1290841

URL: http://svn.apache.org/viewvc?rev=1290841&view=rev
Log:
i118923 - OS/2 port: remove destination file before copy.

Modified:
    incubator/ooo/trunk/main/solenv/bin/modules/installer/systemactions.pm

Modified: incubator/ooo/trunk/main/solenv/bin/modules/installer/systemactions.pm
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/bin/modules/installer/systemactions.pm?rev=1290841&r1=1290840&r2=1290841&view=diff
==============================================================================
--- incubator/ooo/trunk/main/solenv/bin/modules/installer/systemactions.pm (original)
+++ incubator/ooo/trunk/main/solenv/bin/modules/installer/systemactions.pm Sat Feb 18 18:34:11
2012
@@ -426,6 +426,12 @@ sub copy_one_file
 
 	my ($returnvalue, $infoline);
 	
+
+	# copy returns 0 if files are identical :-(
+	if ( $installer::globals::isos2 ) {
+		unlink($dest);
+	}
+
 	my $copyreturn = copy($source, $dest);
 		
 	if ($copyreturn)



Mime
View raw message