aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 7424e77eb..581cae744 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -156,8 +156,7 @@ class Python3 < Formula
# And now we write the distutils.cfg
cfg = prefix/"Frameworks/Python.framework/Versions/#{VER}/lib/python#{VER}/distutils/distutils.cfg"
- cfg.delete if cfg.exist?
- cfg.write <<-EOF.undent
+ cfg.atomic_write <<-EOF.undent
[global]
verbose=1
[install]