aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlieRoot2011-07-10 13:50:52 +0400
committerAdam Vandenberg2011-07-29 09:17:18 -0700
commitf58e786fce5f71697598aa3cc38e397f137eceb4 (patch)
treeceac6a0c291b9d49bb529d723da03f54e0fe43eb
parentb197869d748df90d4dc2f2adfdb488c37b4998d0 (diff)
downloadhomebrew-f58e786fce5f71697598aa3cc38e397f137eceb4.tar.bz2
linkapps: also search for bin/*.app
Qt and PhantomJS install apps to this folder, so find those apps too. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-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 4f6f03efd..5a36bb4d1 100755
--- a/Library/Contributions/examples/brew-linkapps.rb
+++ b/Library/Contributions/examples/brew-linkapps.rb
@@ -14,7 +14,7 @@ HOMEBREW_CELLAR.subdirs.each do |keg|
name = keg.basename.to_s
if ((f = Formula.factory(name)).installed? rescue false)
- Dir["#{f.installed_prefix}/*.app", "#{f.installed_prefix}/libexec/*.app"].each do |p|
+ Dir["#{f.installed_prefix}/*.app", "#{f.installed_prefix}/bin/*.app", "#{f.installed_prefix}/libexec/*.app"].each do |p|
puts "Linking #{p}"
appname = File.basename(p)
target = HOME_APPS+"/"+appname