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/branches/ruby_1_8@5449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
109d8bbb42
commit
d6a7ab911b
1 changed files with 7 additions and 1 deletions
|
@ -29,7 +29,13 @@ module RI
|
|||
version = Config::CONFIG['ruby_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")
|
||||
homedir = ENV['HOME'] || ENV['USERPROFILE'] || ENV['HOMEPATH']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue