diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index a876a716ca..2e1813b832 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -61,7 +61,7 @@ class Caveats if !file_path.readable? || !file_path.read.include?(site_packages) s = "If you need Python to find the installed site-packages:\n" s += " mkdir -p #{dir}\n" unless dir_path.exist? - s += " echo '#{site_packages}' >> #{file}" + s += " echo '#{site_packages}' > #{file}" end end