From 3f25dd60fa74034ade3a8136f072a7275a4feb87 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 4 Mar 2012 14:17:54 +0000 Subject: canonical_name can resolve taps --- Library/Homebrew/cmd/tap.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3