summaryrefslogtreecommitdiffstats
path: root/source-builder
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-12-05 19:01:54 +1100
committerChris Johns <chrisj@rtems.org>2019-12-05 19:01:54 +1100
commit443b8ce3d387e5597e9d20e83add53eb72e22c66 (patch)
treeaadc7f143bd4abeba734686ffe9a7025fb0bda0d /source-builder
parentsb/getsources: Macro right hand values need to be strings. (diff)
downloadrtems-source-builder-443b8ce3d387e5597e9d20e83add53eb72e22c66.tar.bz2
sb/getsources: Fix the repo_mail reference.
Diffstat (limited to 'source-builder')
-rw-r--r--source-builder/sb/getsources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/getsources.py b/source-builder/sb/getsources.py
index f9f5454..523a3a5 100644
--- a/source-builder/sb/getsources.py
+++ b/source-builder/sb/getsources.py
@@ -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)