Make the source path creator safer.
* build/builder.py
(SvnBuild._make_src_path_list): Only do one string replacement to
avoid accidentally mangling source paths/files.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/scons-build-system@862146 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build/builder.py b/build/builder.py
index 93b0613..49d7ebb 100644
--- a/build/builder.py
+++ b/build/builder.py
@@ -36,7 +36,7 @@
which must be a component living under the 'subversion/'
directory."""
- return [p.replace("subversion", self.build_dir)
+ return [p.replace("subversion", self.build_dir, 1)
for p in glob.glob("subversion/%s/*.c" % svn_component)]
def library(self, name, ext_libs=[], svn_libs=[]):