aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorchrisg2011-06-01 04:41:51 -0500
committerAdam Vandenberg2011-06-01 07:09:51 -0700
commit1f38a0b3bed4ab16739f0c389c989b369bc07a87 (patch)
tree77581a3e4f84ddf1af44e78c7071a1abf8f5cff4 /Library
parent9852540c80b8c40fd590b326e747e9d6c29b0677 (diff)
downloadhomebrew-1f38a0b3bed4ab16739f0c389c989b369bc07a87.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