Skip to content

Commit

Permalink
Merge pull request #30 from MSch/master
Browse files Browse the repository at this point in the history
ruby_deploy's fix_install_name doesn't perform a deep search in Contents/Resources
  • Loading branch information
Laurent Sansonetti committed Jun 17, 2011
2 parents 1d057c8 + e8bc645 commit 98622d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ruby_deploy
Expand Up @@ -269,7 +269,7 @@ class Deployer
log "Fix install path of binaries"
patterns = [File.join(@app_bundle, 'Contents/MacOS/*'),
File.join(app_macruby_usr, 'lib/ruby/**/*.{bundle,rbo}'),
File.join(@app_bundle, 'Contents/Resources/*.rbo')]
File.join(@app_bundle, 'Contents/Resources/**/*.rbo')]
patterns.each do |pat|
Dir.glob(pat).each do |bin|
execute("#{@install_name_tool} -change #{macruby_usr}/lib/libmacruby.dylib @executable_path/../Frameworks/MacRuby.framework/Versions/Current/usr/lib/libmacruby.dylib '#{bin}'")
Expand Down

0 comments on commit 98622d1

Please sign in to comment.