diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-23 04:50:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-02 14:23:43 +0100 |
commit | 639db8c766cada7180f9447f51303f9b30d7e817 (patch) | |
tree | d7911da3a7ca0bbb673d3e72e3902ad618471174 /lib/bb/fetch2/git.py | |
parent | 8540c09d4e509e3277940464c71174d8a0aca6ab (diff) | |
download | bitbake-639db8c766cada7180f9447f51303f9b30d7e817.tar.gz |
fetch2/git: Allow to specify the name of the checkout directory
Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/git.py')
-rw-r--r-- | lib/bb/fetch2/git.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index ff7c33df1..9a578ae0b 100644 --- a/lib/bb/fetch2/git.py +++ b/lib/bb/fetch2/git.py @@ -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) |