openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yda...@apache.org
Subject svn commit: r1623850 - /openoffice/trunk/main/solenv/bin/modules/pre2par/parameter.pm
Date Tue, 09 Sep 2014 15:35:43 GMT
Author: ydario
Date: Tue Sep  9 15:35:43 2014
New Revision: 1623850

URL: http://svn.apache.org/r1623850
Log:
#i118923# OS/2 port, use forward slashes for paths in installer scripts.

Modified:
    openoffice/trunk/main/solenv/bin/modules/pre2par/parameter.pm

Modified: openoffice/trunk/main/solenv/bin/modules/pre2par/parameter.pm
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/bin/modules/pre2par/parameter.pm?rev=1623850&r1=1623849&r2=1623850&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/bin/modules/pre2par/parameter.pm (original)
+++ openoffice/trunk/main/solenv/bin/modules/pre2par/parameter.pm Tue Sep  9 15:35:43 2014
@@ -152,6 +152,15 @@ sub make_path_absolute
 		}
 	}
 
+	if ( $pre2par::globals::isos2 )
+	{
+		if (!($$pathref =~ /^\s*\w\:/))	# this is a relative os2 path
+		{
+			$$pathref = cwd() . $pre2par::globals::separator . $$pathref;
+			$$pathref =~ s/\\/\//g;
+		}
+	}
+
 	$$pathref =~ s/\Q$pre2par::globals::separator\E\s*$//;	# removing ending slashes	
 }
 



Mime
View raw message