diff options
author | Anthony Newnam <anthony.newnam@garmin.com> | 2010-11-29 13:15:24 -0600 |
---|---|---|
committer | Anthony Newnam <anthony.newnam@garmin.com> | 2010-11-29 13:17:53 -0600 |
commit | b0f9a02394779c1c9422a9649412c9ac5fb0f12f (patch) | |
tree | f7cb755beb0dd1a24406a714d9433ecebf6ed208 /manifest_xml.py | |
parent | 69b1e8aa65ab933fa919166d88aec90c86852beb (diff) | |
download | git-repo-b0f9a02394779c1c9422a9649412c9ac5fb0f12f.tar.gz |
Make path references OS independent
Change-Id: I5573995adfd52fd54bddc62d1d1ea78fb1328130
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index d888653d..35318d0a 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -357,7 +357,7 @@ class XmlManifest(Manifest): | |||
357 | worktree = None | 357 | worktree = None |
358 | gitdir = os.path.join(self.topdir, '%s.git' % name) | 358 | gitdir = os.path.join(self.topdir, '%s.git' % name) |
359 | else: | 359 | else: |
360 | worktree = os.path.join(self.topdir, path) | 360 | worktree = os.path.join(self.topdir, path).replace('\\', '/') |
361 | gitdir = os.path.join(self.repodir, 'projects/%s.git' % path) | 361 | gitdir = os.path.join(self.repodir, 'projects/%s.git' % path) |
362 | 362 | ||
363 | project = Project(manifest = self, | 363 | project = Project(manifest = self, |