diff options
author | Bradley Sepos <[email protected]> | 2016-12-18 16:37:27 -0500 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-12-18 16:37:27 -0500 |
commit | 061c7af8ba08d1a9b166c323a99484ed07f265c7 (patch) | |
tree | cedc8a543f67b013b47b9770090c0d6cc9616f16 /make | |
parent | 90f66b178a01a50fdd521d36e8005f4fcd18bc45 (diff) |
build: Really ensure tag suffix is not None in configure.py.
Diffstat (limited to 'make')
-rw-r--r-- | make/configure.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/make/configure.py b/make/configure.py index 35bb397ac..cc758330c 100644 --- a/make/configure.py +++ b/make/configure.py @@ -823,7 +823,6 @@ class Project( Action ): else: url_arch = '' - suffix = '' if repo.tag != '': m = re.match( '^([0-9]+)\.([0-9]+)\.([0-9]+)-?(.+)?$', repo.tag ) if not m: @@ -852,7 +851,7 @@ class Project( Action ): self.build = time.strftime('%Y%m%d', now) + '01' self.title = '%s %s (%s)' % (self.name,self.version,self.build) else: - m = re.match('^([a-zA-Z]+)\.([0-9]+)$', suffix) + m = re.match('^([a-zA-Z]+)\.([0-9]+)$', self.suffix) if not m: # Regular release self.version = '%d.%d.%d' % (self.vmajor,self.vminor,self.vpoint) |