If we didn't find a revision, set it to "-1" not just "None"

This commit is contained in:
Enrico Tröger 2011-10-10 00:37:14 +02:00
parent 50ae63002b
commit 8ed1664fc6

View File

@ -186,7 +186,7 @@ def configure(conf):
conf.define('GEANY_PREFIX', '' if is_win32 else conf.env['PREFIX'], quote=True)
conf.define('PACKAGE', APPNAME, quote=True)
conf.define('VERSION', VERSION, quote=True)
conf.define('REVISION', revision, quote=True)
conf.define('REVISION', revision or '-1', quote=True)
conf.define('GETTEXT_PACKAGE', APPNAME, quote=True)