mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #-: Fix VULTR_LOCATION path when using ONE_LOCATION (#1342)
Applies to one-6.0 and master.
(cherry picked from commit 1e0ae1382b)
This commit is contained in:
1 parent
29584dc03d
commit
dd671bca86
4 files changed
+4
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user