subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1342358 - /subversion/trunk/build/generator/gen_vcnet_vcproj.py
Date Thu, 24 May 2012 17:56:30 GMT
Author: rhuijben
Date: Thu May 24 17:56:30 2012
New Revision: 1342358

URL: http://svn.apache.org/viewvc?rev=1342358&view=rev
Log:
* build/generator/gen_vcnet_vcproj.py
  (write): Use a proper join for paths, instead of a string concat.

Modified:
    subversion/trunk/build/generator/gen_vcnet_vcproj.py

Modified: subversion/trunk/build/generator/gen_vcnet_vcproj.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/gen_vcnet_vcproj.py?rev=1342358&r1=1342357&r2=1342358&view=diff
==============================================================================
--- subversion/trunk/build/generator/gen_vcnet_vcproj.py (original)
+++ subversion/trunk/build/generator/gen_vcnet_vcproj.py Thu May 24 17:56:30 2012
@@ -199,7 +199,8 @@ class Generator(gen_win.WinGeneratorBase
         if depends[i].fname.startswith(self.projfilesdir):
           path = depends[i].fname[len(self.projfilesdir) + 1:]
         else:
-          path = os.path.relpath('.', self.projfilesdir) + depends[i].fname
+          path = os.path.join(os.path.relpath('.', self.projfilesdir),
+                              depends[i].fname)
         deplist.append(gen_win.ProjectItem(guid=guids[depends[i].name],
                                            index=i,
                                            path=path,



Mime
View raw message