summaryrefslogtreecommitdiffstats
path: root/script/autobuild.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-21 16:46:58 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-22 02:51:10 +0100
commit949427c208159f4ac580f547dd5465a70b4751b7 (patch)
treee9eef7d495b04516e6161ab9528f964a8d872cd2 /script/autobuild.py
parent01047e0ba8256ff12345222517a905fd9d66a8b5 (diff)
downloadsamba-949427c208159f4ac580f547dd5465a70b4751b7.tar.gz
samba-949427c208159f4ac580f547dd5465a70b4751b7.tar.xz
samba-949427c208159f4ac580f547dd5465a70b4751b7.zip
python: use os.environ[] instead of os.putenv()
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script/autobuild.py')
-rwxr-xr-xscript/autobuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index b02928574a..c6e965e69e 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -14,7 +14,7 @@ samba_master_ssh = os.getenv('SAMBA_MASTER_SSH', 'git+ssh://git.samba.org/data/g
cleanup_list = []
-os.putenv('CC', "ccache gcc")
+os.environ['CC'] = "ccache gcc"
builddirs = {
"samba3" : "source3",