aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/link.rb
blob: bc9634e5a49a62034511b3a14e8295d5d5b24dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Homebrew extend self
  def link
    ARGV.kegs.each do |keg|
      print "Linking #{keg}... "
      begin
        puts "#{keg.link} symlinks created"
      rescue Exception
        puts
        raise
      end
    end
  end
end