aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-09-06 13:20:06 +0100
committerMike McQuaid2015-09-06 13:21:21 +0100
commit881d68d35556097ef62031b7e5728e445d74d558 (patch)
treeb85ba8d6b74690280824aa6e9256c49568d59fa6 /Library
parentf279a1397733c81a580bd21ebef9815fb290a8a5 (diff)
downloadbrew-881d68d35556097ef62031b7e5728e445d74d558.tar.bz2
tap-readme: create README in tap path.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/tap-readme.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tap-readme.rb b/Library/Homebrew/cmd/tap-readme.rb
index c6c5b262f..be058ebf5 100644
--- a/Library/Homebrew/cmd/tap-readme.rb
+++ b/Library/Homebrew/cmd/tap-readme.rb
@@ -25,7 +25,7 @@ module Homebrew
EOS
puts template if ARGV.verbose?
- path = Pathname.new("./README.md")
+ path = HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-#{name}/README.md"
raise "#{path} already exists" if path.exist?
path.write template
end