1
0
Fork 0
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:
dave 2004-01-12 16:10:52 +00:00
parent 109d8bbb42
commit d6a7ab911b

View file

@ -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']