You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by pq...@apache.org on 2006/07/15 08:06:58 UTC
svn commit: r422146 - /apr/apr/trunk/build/gen-build.py
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