diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-21 16:45:53 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-22 02:51:10 +0100 |
commit | 01047e0ba8256ff12345222517a905fd9d66a8b5 (patch) | |
tree | afeca6dc1415f7bcf9cbc511cee80e0172c956b4 | |
parent | 1bf4ff2ab2e5bca2c6d7e5840fe20bd3dbd20d74 (diff) | |
download | samba-01047e0ba8256ff12345222517a905fd9d66a8b5.tar.gz samba-01047e0ba8256ff12345222517a905fd9d66a8b5.tar.bz2 samba-01047e0ba8256ff12345222517a905fd9d66a8b5.zip |
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>
-rw-r--r-- | wscript | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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') |