Skip to content

Commit

Permalink
Only prepend install_destdir when especified. Fixes installation issu…
Browse files Browse the repository at this point in the history
…es related to Windows paths (/C:/...)

git-svn-id: http://rubygems.rubyforge.org/svn/trunk@1787 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information
luislavena committed Jun 20, 2008
1 parent 5fb6388 commit bb0b6ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2008-06-20 Luis Lavena <luislavena@gmail.com>

* setup.rb: Only prepend install_destdir when especified. Fixes
installation issues related to Windows paths (/C:/...)

2008-06-19 Eric Hodel <drbrain@segment7.net>

* lib/rubygems/dependency_installer.rb: Ensure that the entire
Expand Down
7 changes: 5 additions & 2 deletions setup.rb
Expand Up @@ -128,8 +128,11 @@
end
end

lib_dir = File.join install_destdir, lib_dir
bin_dir = File.join install_destdir, bin_dir
unless install_destdir.empty?
lib_dir = File.join install_destdir, lib_dir
bin_dir = File.join install_destdir, bin_dir
end

mkdir_p lib_dir
mkdir_p bin_dir

Expand Down

0 comments on commit bb0b6ca

Please sign in to comment.