Use OS file separator

Change-Id: I46b15bc1c1b4f2300a6fd98fe16c755da4910e7a
This commit is contained in:
Renaud Paquay 2016-11-01 11:25:15 -07:00 committed by David Pursehouse
parent 169d8ae93c
commit 6a470be220

View File

@ -164,7 +164,7 @@ class XmlManifest(object):
try:
if os.path.lexists(self.manifestFile):
os.remove(self.manifestFile)
os.symlink('manifests/%s' % name, self.manifestFile)
os.symlink(os.path.join('manifests', name), self.manifestFile)
except OSError as e:
raise ManifestParseError('cannot link manifest %s: %s' % (name, str(e)))