mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-05-21 22:57:29 +08:00
Use OS file separator
Change-Id: I46b15bc1c1b4f2300a6fd98fe16c755da4910e7a
This commit is contained in:
parent
169d8ae93c
commit
6a470be220
@ -164,7 +164,7 @@ class XmlManifest(object):
|
|||||||
try:
|
try:
|
||||||
if os.path.lexists(self.manifestFile):
|
if os.path.lexists(self.manifestFile):
|
||||||
os.remove(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:
|
except OSError as e:
|
||||||
raise ManifestParseError('cannot link manifest %s: %s' % (name, str(e)))
|
raise ManifestParseError('cannot link manifest %s: %s' % (name, str(e)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user