diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-10-07 09:23:20 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-09 12:33:26 +0100 |
commit | 146eb22b0e7b77bf3b3dcd750b4124b6cb27f090 (patch) | |
tree | e694531a9a5c52759a2a5166f6a28e60f7b27a6e /bitbake/lib | |
parent | f4366293ff625a50264d31b47f6ce4d983cac852 (diff) | |
download | poky-146eb22b0e7b77bf3b3dcd750b4124b6cb27f090.tar.gz |
bitbake: toaster: fix cloning of git+ssh repositories
Replaced '+' -> '_' to avoid having '+' in folder name.
Thanks Stephan Dünner for this fix.
(Bitbake rev: 858ade277d3bd62e84d3d78e9302f766c1b31dfb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index a64e89b93b..e5f7c988c2 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -75,7 +75,7 @@ class LocalhostBEController(BuildEnvironmentController): | |||
75 | def getGitCloneDirectory(self, url, branch): | 75 | def getGitCloneDirectory(self, url, branch): |
76 | """Construct unique clone directory name out of url and branch.""" | 76 | """Construct unique clone directory name out of url and branch.""" |
77 | if branch != "HEAD": | 77 | if branch != "HEAD": |
78 | return "_toaster_clones/_%s_%s" % (re.sub('[:/@%]', '_', url), branch) | 78 | return "_toaster_clones/_%s_%s" % (re.sub('[:/@+%]', '_', url), branch) |
79 | 79 | ||
80 | # word of attention; this is a localhost-specific issue; only on the localhost we expect to have "HEAD" releases | 80 | # word of attention; this is a localhost-specific issue; only on the localhost we expect to have "HEAD" releases |
81 | # which _ALWAYS_ means the current poky checkout | 81 | # which _ALWAYS_ means the current poky checkout |