1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

fetch2/git: Allow to specify the name of the checkout directory

(Bitbake rev: 639db8c766cada7180f9447f51303f9b30d7e817)

Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Holger Hans Peter Freyther
2011-06-23 04:50:13 +08:00
committed by Richard Purdie
parent d1a84c9f3d
commit 4baae7875d
+2 -1
View File
@@ -213,7 +213,8 @@ class Git(FetchMethod):
else:
readpathspec = ""
destdir = os.path.join(destdir, "git/")
destsuffix = ud.parm.get("destsuffix", "git/")
destdir = os.path.join(destdir, destsuffix)
if os.path.exists(destdir):
bb.utils.prunedir(destdir)