mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #-: Fix VULTR_LOCATION path when using ONE_LOCATION (#1342)
Applies to one-6.0 and master. (cherry picked from commit 1e0ae1382bb6b927b117d14bc42be1910db15eee)
This commit is contained in:
parent
29584dc03d
commit
dd671bca86
@ -73,7 +73,7 @@ if !ONE_LOCATION
|
||||
GEMS_LOCATION ||= '/usr/share/one/gems'
|
||||
else
|
||||
LIB_LOCATION ||= ONE_LOCATION + '/lib'
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/oneprovision/provider_apis/vultr'
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/lib/oneprovision/provider_apis/vultr'
|
||||
RUBY_LIB_LOCATION ||= ONE_LOCATION + '/lib/ruby'
|
||||
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ if !ONE_LOCATION
|
||||
GEMS_LOCATION ||= '/usr/share/one/gems'
|
||||
else
|
||||
LIB_LOCATION ||= ONE_LOCATION + '/lib'
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/oneprovision/provider_apis/vultr'
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/lib/oneprovision/provider_apis/vultr'
|
||||
RUBY_LIB_LOCATION ||= ONE_LOCATION + '/lib/ruby'
|
||||
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
|
||||
end
|
||||
|
@ -19,7 +19,7 @@ ONE_LOCATION = ENV['ONE_LOCATION'] unless defined?(ONE_LOCATION)
|
||||
if !ONE_LOCATION
|
||||
VULTR_LOCATION ||= '/usr/lib/one/oneprovision/provider_apis/vultr'
|
||||
else
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/oneprovision/provider_apis/vultr'
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/lib/oneprovision/provider_apis/vultr'
|
||||
end
|
||||
|
||||
$LOAD_PATH << VULTR_LOCATION
|
||||
|
@ -23,7 +23,7 @@ if !ONE_LOCATION
|
||||
GEMS_LOCATION ||= '/usr/share/one/gems'
|
||||
else
|
||||
LIB_LOCATION ||= ONE_LOCATION + '/lib'
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/oneprovision/provider_apis/vultr'
|
||||
VULTR_LOCATION ||= ONE_LOCATION + '/lib/oneprovision/provider_apis/vultr'
|
||||
RUBY_LIB_LOCATION ||= ONE_LOCATION + '/lib/ruby'
|
||||
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user