mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Checked in wrong version... :(
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6cea9bc904
commit
c8b7862e86
1 changed files with 7 additions and 1 deletions
|
@ -29,7 +29,13 @@ module RI
|
||||||
version = Config::CONFIG['ruby_version']
|
version = Config::CONFIG['ruby_version']
|
||||||
|
|
||||||
base = File.join(Config::CONFIG['datadir'], "ri", version)
|
base = File.join(Config::CONFIG['datadir'], "ri", version)
|
||||||
|
|
||||||
|
if ENV["DESTDIR"]
|
||||||
|
SYSDIR = File.join(ENV["DESTDIR"], base, "system")
|
||||||
|
else
|
||||||
SYSDIR = File.join(base, "system")
|
SYSDIR = File.join(base, "system")
|
||||||
|
end
|
||||||
|
|
||||||
SITEDIR = File.join(base, "site")
|
SITEDIR = File.join(base, "site")
|
||||||
homedir = ENV['HOME'] || ENV['USERPROFILE'] || ENV['HOMEPATH']
|
homedir = ENV['HOME'] || ENV['USERPROFILE'] || ENV['HOMEPATH']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue