Browse Source

wscript: fix git version definition

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

2
wscript

@ -127,7 +127,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="' + 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.GITVERSION 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