mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
buildman: Fix incorrect arguemnt in GetUpstream()
This causes an error when trying to build a local branch which has a local branch as its upstream. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
bd2a4888b1
commit
71edbe5cda
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ def GetUpstream(git_dir, branch):
|
|||
return upstream, msg
|
||||
|
||||
if remote == '.':
|
||||
return merge
|
||||
return merge, None
|
||||
elif remote and merge:
|
||||
leaf = merge.split('/')[-1]
|
||||
return '%s/%s' % (remote, leaf), None
|
||||
|
|
Loading…
Reference in a new issue