aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/pathname.rb
diff options
context:
space:
mode:
authorMike McQuaid2012-11-25 20:53:04 +0000
committerMike McQuaid2012-11-25 20:53:04 +0000
commit427bc9d01c3bfaa0c900a8e90863fb6223ebf81a (patch)
treee2867a58eceb452dab7415fb95fec1739d05b5cf /Library/Homebrew/extend/pathname.rb
parentc3f96851b2d3bf3e856e025516e0ff0103ecb329 (diff)
downloadbrew-427bc9d01c3bfaa0c900a8e90863fb6223ebf81a.tar.bz2
Overwrite plists.
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index d39b21689..2b04cae57 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -98,7 +98,7 @@ class Pathname
# we assume this pathname object is a file obviously
def write content
- raise "Will not overwrite #{to_s}" if exist? and not ARGV.force?
+ #raise "Will not overwrite #{to_s}" if exist? and not ARGV.force?
dirname.mkpath
File.open(self, 'w') {|f| f.write content }
end