summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 87a35d97a3..56fda9a48c 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -220,7 +220,7 @@ class Git(FetchMethod):
220 if os.path.exists(destdir): 220 if os.path.exists(destdir):
221 bb.utils.prunedir(destdir) 221 bb.utils.prunedir(destdir)
222 222
223 runfetchcmd("git clone -s -n %s %s" % (ud.clonedir, destdir), d) 223 runfetchcmd("git clone -s -n %s/ %s" % (ud.clonedir, destdir), d)
224 if not ud.nocheckout: 224 if not ud.nocheckout:
225 os.chdir(destdir) 225 os.chdir(destdir)
226 if subdir != "": 226 if subdir != "":