Browse Source

wscript: fix git commit hash

pull/2/head
Alibek Omarov 6 years ago
parent
commit
a297a0b5ad
  1. 2
      wscript

2
wscript

@ -130,7 +130,7 @@ def configure(conf):
else: else:
conf.env.LIBDIR = conf.env.BINDIR = conf.env.PREFIX 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: for i in SUBDIRS:
conf.setenv(i, conf.env) # derive new env from global one conf.setenv(i, conf.env) # derive new env from global one

Loading…
Cancel
Save