summaryrefslogtreecommitdiffstats
path: root/make/configure.py
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2017-11-04 05:54:41 -0400
committerBradley Sepos <[email protected]>2017-11-04 06:14:22 -0400
commitc987dedc125819bf840b561224d1b8707715238b (patch)
tree506f01be7fdea53bb6f669c07a15fa8bbd6279cb /make/configure.py
parent4fd607b633edafd72efef57231928c8c9cbfae28 (diff)
build: Fix configure to report success when REV=0 in version.txt.
Instead make sure we have a possibly sane HASH value.
Diffstat (limited to 'make/configure.py')
-rw-r--r--make/configure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/configure.py b/make/configure.py
index 90efeb22e..71f310ea5 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -775,7 +775,7 @@ class RepoProbe( ShellProbe ):
self.session = in_file.readlines()
if self.session:
self._parseSession()
- if self.rev != 0:
+ if self.hash is not empty and self.hash is not 'deadbeaf':
cfg.infof( '(pass)\n' )
else:
cfg.infof( '(fail)\n' )