diff options
| author | Jack Nagel | 2014-04-15 12:19:32 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-15 12:19:32 -0500 |
| commit | 25b9f83609086b152e2dfca3fab04ae85c58691d (patch) | |
| tree | ed650b6d766cce19cbdcf6b8e95047ad82a3b39d /Library/Formula/python.rb | |
| parent | 6e17e75807c8a0efdbebc63bf8500b2789f87078 (diff) | |
| download | homebrew-25b9f83609086b152e2dfca3fab04ae85c58691d.tar.bz2 | |
python: write distutils.cfg atomically
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index f05648b3e..5b4f214d8 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -176,8 +176,7 @@ class Python < Formula # And now we write the distutils.cfg cfg = lib_cellar/"distutils/distutils.cfg" - cfg.delete if cfg.exist? - cfg.write <<-EOF.undent + cfg.atomic_write <<-EOF.undent [global] verbose=1 [install] |
