Permalink
Browse files

brew-linkapps: Support --HEAD builds

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 9852540 commit 1f38a0b3bed4ab16739f0c389c989b369bc07a87 @kurige kurige committed with adamv Jun 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Library/Contributions/examples/brew-linkapps.rb
View
2 Library/Contributions/examples/brew-linkapps.rb
@@ -13,7 +13,7 @@
name = keg.basename.to_s
if ((f = Formula.factory(name)).installed? rescue false)
- Dir["#{f.prefix}/*.app"].each do |p|
+ Dir["#{f.installed_prefix}/*.app"].each do |p|
puts "Linking #{p}"
appname = File.basename(p)
target = HOME_APPS+"/"+appname

0 comments on commit 1f38a0b

Please sign in to comment.