wscript: fix git commit hash

This commit is contained in:
Alibek Omarov 2019-01-13 16:46:50 +03:00
parent 9da413b2cc
commit a297a0b5ad
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ def configure(conf):
else:
conf.env.LIBDIR = conf.env.BINDIR = conf.env.PREFIX
conf.env.append_unique('DEFINES', 'XASH_BUILD_COMMIT="{0}"'.format(conf.env.GIT_VERSION if conf.env.GITVERSION else 'notset'))
conf.env.append_unique('DEFINES', 'XASH_BUILD_COMMIT="{0}"'.format(conf.env.GIT_VERSION if conf.env.GIT_VERSION else 'notset'))
for i in SUBDIRS:
conf.setenv(i, conf.env) # derive new env from global one