summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenaud Paquay <rpaquay@google.com>2016-11-01 11:25:15 -0700
committerDavid Pursehouse <dpursehouse@collab.net>2017-05-28 21:16:15 +0900
commit6a470be220abd777dae8d62cce4155be9fd136aa (patch)
treea44a68ef76c106a0d5cdfe3ebafaf7a25f547f31
parent169d8ae93cb8294db9a82cd6de97e94ef53abf7c (diff)
downloadgit-repo-6a470be220abd777dae8d62cce4155be9fd136aa.tar.gz
Use OS file separator
Change-Id: I46b15bc1c1b4f2300a6fd98fe16c755da4910e7a
-rw-r--r--manifest_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 73e34964..4f0eb64d 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -164,7 +164,7 @@ class XmlManifest(object):
164 try: 164 try:
165 if os.path.lexists(self.manifestFile): 165 if os.path.lexists(self.manifestFile):
166 os.remove(self.manifestFile) 166 os.remove(self.manifestFile)
167 os.symlink('manifests/%s' % name, self.manifestFile) 167 os.symlink(os.path.join('manifests', name), self.manifestFile)
168 except OSError as e: 168 except OSError as e:
169 raise ManifestParseError('cannot link manifest %s: %s' % (name, str(e))) 169 raise ManifestParseError('cannot link manifest %s: %s' % (name, str(e)))
170 170