summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r--bitbake/lib/bb/fetch2/git.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index af7c623ccb..bb681a46ec 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -257,6 +257,7 @@ class Git(FetchMethod):
257 indirectiondir = destdir[:-1] + ".indirectionsymlink" 257 indirectiondir = destdir[:-1] + ".indirectionsymlink"
258 if os.path.exists(indirectiondir): 258 if os.path.exists(indirectiondir):
259 os.remove(indirectiondir) 259 os.remove(indirectiondir)
260 bb.mkdirhier(os.path.dirname(indirectiondir))
260 os.symlink(ud.clonedir, indirectiondir) 261 os.symlink(ud.clonedir, indirectiondir)
261 clonedir = indirectiondir 262 clonedir = indirectiondir
262 263