1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4-waf: fixed make test for toplevel

amazingly, os.putenv() is broken. If you do os.putenv('FOO', '1') and
then do os.getenv('FOO') you don't get '1'

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2011-02-21 16:45:53 +11:00
parent 1bf4ff2ab2
commit 01047e0ba8

View File

@ -26,10 +26,9 @@ samba_dist.DIST_BLACKLIST('README Manifest Read-Manifest-Now Roadmap source3/ '
# install in /usr/local/samba by default
Options.default_prefix = '/usr/local/samba'
os.environ['TOPLEVEL_BUILD'] = '1'
def set_options(opt):
os.putenv('TOPLEVEL_BUILD', '1')
opt.BUILTIN_DEFAULT('NONE')
opt.PRIVATE_EXTENSION_DEFAULT('samba4')
opt.RECURSE('lib/replace')