aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlieRoot2011-07-10 13:50:52 +0400
committerAdam Vandenberg2011-07-29 09:17:18 -0700
commitd6c84172ed1f1b189a7ca1d7ebf7da8e05783889 (patch)
tree5e8df8477383f8b024bd8f4946f5cb3e41bc7e12 /Library
parent8c50cb54c0086672148a117e1fca1baabe2f745b (diff)
downloadbrew-d6c84172ed1f1b189a7ca1d7ebf7da8e05783889.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>
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 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