diff options
author | Andre Arko <andre@arko.net> | 2013-02-13 14:17:10 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-13 14:17:52 -0800 |
commit | c4c275464ded8a4a848cc3e8edc3ca0eee6a579b (patch) | |
tree | 14447b48ef9c0cdd660f2b823401fabf85fb148c | |
parent | ef1d15786f94183ef60075d08fd2ac671a5c2b6a (diff) | |
download | bundler-c4c275464ded8a4a848cc3e8edc3ca0eee6a579b.tar.gz |
only create bindir once
-rw-r--r-- | lib/bundler/source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb index 11fe0b587b..17a457f147 100644 --- a/lib/bundler/source.rb +++ b/lib/bundler/source.rb @@ -106,8 +106,8 @@ module Bundler Bundler.mkdir_p "#{Bundler.rubygems.gem_dir}/specifications" Bundler.sudo "cp -R #{Bundler.tmp}/gems/#{spec.full_name} #{Bundler.rubygems.gem_dir}/gems/" Bundler.sudo "cp -R #{Bundler.tmp}/specifications/#{spec.full_name}.gemspec #{Bundler.rubygems.gem_dir}/specifications/" + Bundler.mkdir_p Bundler.system_bindir spec.executables.each do |exe| - Bundler.mkdir_p Bundler.system_bindir Bundler.sudo "cp -R #{Bundler.tmp}/bin/#{exe} #{Bundler.system_bindir}" end end |