aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/tap.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-25 18:58:16 -0500
committerJack Nagel2014-04-25 18:58:16 -0500
commit35fb78a1c82b6ca3f8cbfd63a8ba4e5d70fdb3ae (patch)
treee6b1f24f64f202d02811ffff26ebf8581f1d71ca /Library/Homebrew/cmd/tap.rb
parent52988fb6350c351323cc77e99577eca9bf955e57 (diff)
downloadhomebrew-35fb78a1c82b6ca3f8cbfd63a8ba4e5d70fdb3ae.tar.bz2
Yield absolute paths from find_formula
Diffstat (limited to 'Library/Homebrew/cmd/tap.rb')
-rw-r--r--Library/Homebrew/cmd/tap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb
index 0c15b4ac5..15ebacb61 100644
--- a/Library/Homebrew/cmd/tap.rb
+++ b/Library/Homebrew/cmd/tap.rb
@@ -25,7 +25,7 @@ module Homebrew extend self
abort unless system "git clone https://github.com/#{repouser}/homebrew-#{repo} #{tapd}"
files = []
- tapd.find_formula { |file| files << tapd.join(file) }
+ tapd.find_formula { |file| files << file }
link_tap_formula(files)
puts "Tapped #{files.length} formula"
@@ -85,7 +85,7 @@ module Homebrew extend self
# check symlinks are all set in each tap
each_tap do |user, repo|
files = []
- repo.find_formula { |file| files << repo.join(file) }
+ repo.find_formula { |file| files << file }
count += link_tap_formula(files)
end