diff options
| author | chrisg | 2011-06-01 04:41:51 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-01 07:09:51 -0700 |
| commit | 41407a3f033416c7c9cbbaa50b5d23103a71e7f1 (patch) | |
| tree | 6ce51c5a310536e0fae9edb80d3c4c3787b83d72 /Library | |
| parent | cf13c6ddf399869b4e6b04222bc161323f3c2796 (diff) | |
| download | brew-41407a3f033416c7c9cbbaa50b5d23103a71e7f1.tar.bz2 | |
brew-linkapps: Support --HEAD builds
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-linkapps.rb | 2 |
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 |
