mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02: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:
committed by
Richard Purdie
parent
d1a84c9f3d
commit
4baae7875d
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user