aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/linkapps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/linkapps.rb')
-rw-r--r--Library/Homebrew/cmd/linkapps.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/linkapps.rb b/Library/Homebrew/cmd/linkapps.rb
index 7e8430c75..b21cbcd1f 100644
--- a/Library/Homebrew/cmd/linkapps.rb
+++ b/Library/Homebrew/cmd/linkapps.rb
@@ -25,7 +25,7 @@ module Homebrew
kegs.each do |keg|
keg = keg.opt_record if keg.optlinked?
Dir["#{keg}/*.app", "#{keg}/bin/*.app", "#{keg}/libexec/*.app"].each do |app|
- puts "Linking #{app}"
+ puts "Linking #{app} to #{target_dir}."
app_name = File.basename(app)
target = "#{target_dir}/#{app_name}"
@@ -33,10 +33,9 @@ module Homebrew
onoe "#{target} already exists, skipping."
next
end
+
system "ln", "-sf", app, target_dir
end
end
-
- puts "Finished linking. Find the links under #{target_dir}."
end
end