mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb/getsources: Fix the repo_mail reference.
This commit is contained in:
parent
6efd343a92
commit
443b8ce3d3
@ -249,6 +249,7 @@ class options(object):
|
||||
|
||||
def sb_git(self):
|
||||
repo = git.repo(self.defaults.expand('%{_sbdir}'), self)
|
||||
repo_mail = None
|
||||
if repo.valid():
|
||||
repo_valid = '1'
|
||||
repo_head = repo.head()
|
||||
@ -267,7 +268,6 @@ class options(object):
|
||||
repo_clean = '%{nil}'
|
||||
repo_remotes = '%{nil}'
|
||||
repo_id = 'no-repo'
|
||||
repo_mail = None
|
||||
self.defaults['_sbgit_valid'] = repo_valid
|
||||
self.defaults['_sbgit_head'] = repo_head
|
||||
self.defaults['_sbgit_clean'] = str(repo_clean)
|
||||
|
Loading…
x
Reference in New Issue
Block a user