diff options
| author | Max Howell | 2012-03-04 14:17:54 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-16 21:06:15 +0000 |
| commit | 4247c60015d82d05bb88f9c32ae45e7b435edef8 (patch) | |
| tree | d056b706f8ad44038f8ca9f735973dd8b9fc72fe /Library/Homebrew/cmd | |
| parent | a05a5fc8fb46b46ee59b791417a16dc0a2cfcd39 (diff) | |
| download | homebrew-4247c60015d82d05bb88f9c32ae45e7b435edef8.tar.bz2 | |
canonical_name can resolve taps
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/tap.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index a311af7f0..74f0b20d7 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -30,14 +30,14 @@ module Homebrew extend self if $?.success? gitignores << relative_pathname.basename.to_s else - opoo "#{relative_pathname.basename, ".rb"} conflicts" + opoo "#{relative_pathname.basename('.rb')} conflicts" end end tf = Tempfile.new("brew-tap") tf.write(gitignores.uniq.join("\n")) tf.close - mv tf.path, "#{HOMEBREW_PREFIX}/Library/Formula/.gitignore" + mv tf.path, "#{HOMEBREW_LIBRARY}/Formula/.gitignore" end private |
