diff options
| author | CharlieRoot | 2011-07-10 13:50:52 +0400 | 
|---|---|---|
| committer | Adam Vandenberg | 2011-07-29 09:17:18 -0700 | 
| commit | f58e786fce5f71697598aa3cc38e397f137eceb4 (patch) | |
| tree | ceac6a0c291b9d49bb529d723da03f54e0fe43eb | |
| parent | b197869d748df90d4dc2f2adfdb488c37b4998d0 (diff) | |
| download | homebrew-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-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 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  | 
