PATCH:bksys - fix some win32 related path delimiter problems

Ralf Habacker ralf.habacker at freenet.de
Wed Sep 28 18:04:21 BST 2005


Hi all, 

here comes another patch for bksys. Any objectivities for submitting ? 

Regards 
Ralf 

 
changelog: 
fix some win32 related path delimiter problems

Index: generic.py
===================================================================
--- generic.py	(revision 464504)
+++ generic.py	(working copy)
@@ -737,10 +745,10 @@
                 lst = lenv.make_list(str)
 		for file in lst:
 			import re
-			reg=re.compile("(.*)/lib(.*).(la|so)$")
+			reg=re.compile("(.*)(/|\\\\)lib(.*).(la|so)$")
 			result=reg.match(file)
 			if not result:
-				reg = re.compile("(.*)/lib(.*).(la|so)\.(.)")
+				reg = re.compile("(.*)(/|\\\\)lib(.*).(la|so)\.(.)")
 				result=reg.match(file)
 				if not result:
 					print "Unknown la file given "+file
@@ -759,7 +767,7 @@
                 lst = lenv.make_list(str)
 		for file in lst:
 			import re
-			reg = re.compile("(.*)/(lib.*.a)")
+			reg = re.compile("(.*)(/|\\\\)(lib.*.a)")
 			result = reg.match(file)
 			if not result:
 				print "Unknown archive file given "+file




More information about the kde-core-devel mailing list