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
@ -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)
|
||||||
SYSDIR = File.join(base, "system")
|
|
||||||
|
if ENV["DESTDIR"]
|
||||||
|
SYSDIR = File.join(ENV["DESTDIR"], base, "system")
|
||||||
|
else
|
||||||
|
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…
x
Reference in New Issue
Block a user