python: use os.environ[] instead of os.putenv()
[nivanova/samba-autobuild/.git] / script / autobuild.py
index b02928574a5e18908f8fa3c71ae1ead856baa361..c6e965e69e055cdbc704e17b6e92d7a49c377d47 100755 (executable)
@@ -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",