Skip to content

Commit

Permalink
Replace a shell call to install with the File.install method
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrous26 committed Jan 27, 2012
1 parent f494e43 commit 78931f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/install.rake
Expand Up @@ -236,7 +236,7 @@ namespace :install do
ext_name, sub_path = path.scan(/^ext\/(.+)\/lib\/(.+)$/)[0]
next unless EXTENSIONS.include?(ext_name)
sub_dir = File.dirname(sub_path)
sh "/usr/bin/install -c -m 0755 #{path} #{File.join(with_destdir(RUBY_SITE_LIB2), sub_dir)}"
install path, "#{RUBY_SITE_LIB2}/#{sub_dir}", :mode => prog_mode
end

puts 'Installing Extension Objects'
Expand Down

0 comments on commit 78931f2

Please sign in to comment.