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 18:15:27 +0100 |
commit | 4baae7875d3d163bc4954b01f0d5a254dad077b2 (patch) | |
tree | cde87dcbde8b403b99639f81f9d8e322553c328c | |
parent | d1a84c9f3d387bfeaeaa0007dda8d90164633255 (diff) | |
download | poky-4baae7875d3d163bc4954b01f0d5a254dad077b2.tar.gz |
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>
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index ff7c33df10..9a578ae0be 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -213,7 +213,8 @@ class Git(FetchMethod): | |||
213 | else: | 213 | else: |
214 | readpathspec = "" | 214 | readpathspec = "" |
215 | 215 | ||
216 | destdir = os.path.join(destdir, "git/") | 216 | destsuffix = ud.parm.get("destsuffix", "git/") |
217 | destdir = os.path.join(destdir, destsuffix) | ||
217 | if os.path.exists(destdir): | 218 | if os.path.exists(destdir): |
218 | bb.utils.prunedir(destdir) | 219 | bb.utils.prunedir(destdir) |
219 | 220 | ||