aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorchrisg2011-06-01 04:41:51 -0500
committerAdam Vandenberg2011-06-01 07:09:51 -0700
commit41407a3f033416c7c9cbbaa50b5d23103a71e7f1 (patch)
tree6ce51c5a310536e0fae9edb80d3c4c3787b83d72 /Library
parentcf13c6ddf399869b4e6b04222bc161323f3c2796 (diff)
downloadbrew-41407a3f033416c7c9cbbaa50b5d23103a71e7f1.tar.bz2
brew-linkapps: Support --HEAD builds
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-linkapps.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-linkapps.rb b/Library/Contributions/examples/brew-linkapps.rb
index a5affaed2..5549cd774 100755
--- a/Library/Contributions/examples/brew-linkapps.rb
+++ b/Library/Contributions/examples/brew-linkapps.rb
@@ -13,7 +13,7 @@ HOMEBREW_CELLAR.subdirs.each do |keg|
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