apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r422146 - /apr/apr/trunk/build/gen-build.py
Date Sat, 15 Jul 2006 06:06:58 GMT
Author: pquerna
Date: Fri Jul 14 23:06:58 2006
New Revision: 422146

URL: http://svn.apache.org/viewvc?rev=422146&view=rev
Log:
Convert the backslashes generated in paths when using the native win32 build of Python to
forward slashes, that the rest of the build system can understand.

Modified:
    apr/apr/trunk/build/gen-build.py

Modified: apr/apr/trunk/build/gen-build.py
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/gen-build.py?rev=422146&r1=422145&r2=422146&view=diff
==============================================================================
--- apr/apr/trunk/build/gen-build.py (original)
+++ apr/apr/trunk/build/gen-build.py Fri Jul 14 23:06:58 2006
@@ -188,11 +188,13 @@
       if len(deps) != start:
         altered = 1
 
+def clean_path(path):
+    return path.replace("\\", "/")
 
 def get_files(patterns):
   files = [ ]
   for pat in string.split(patterns):
-    files.extend(glob.glob(pat))
+    files.extend(map(clean_path, glob.glob(pat)))
   return files
 
 



Mime
View raw message