From 949427c208159f4ac580f547dd5465a70b4751b7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Feb 2011 16:46:58 +1100 Subject: 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 --- script/autobuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/autobuild.py') 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", -- cgit