diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 38e2c93be4..35031d28c4 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -101,7 +101,7 @@ class Git(FetchMethod): | |||
101 | else: | 101 | else: |
102 | username = "" | 102 | username = "" |
103 | 103 | ||
104 | repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarball) | 104 | repofile = os.path.join(data.getVar("DL_DIR", d, True), ud.mirrortarball) |
105 | 105 | ||
106 | ud.repochanged = not os.path.exists(repofile) | 106 | ud.repochanged = not os.path.exists(repofile) |
107 | 107 | ||
@@ -138,7 +138,7 @@ class Git(FetchMethod): | |||
138 | 138 | ||
139 | def build_mirror_data(self, url, ud, d): | 139 | def build_mirror_data(self, url, ud, d): |
140 | # Generate a mirror tarball if needed | 140 | # Generate a mirror tarball if needed |
141 | repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarball) | 141 | repofile = os.path.join(data.getVar("DL_DIR", d, True), ud.mirrortarball) |
142 | 142 | ||
143 | os.chdir(ud.clonedir) | 143 | os.chdir(ud.clonedir) |
144 | mirror_tarballs = data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) | 144 | mirror_tarballs = data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) |