File vmware-vmwarerc.patch of Package opennebula-driver-vmware (Revision 4)
Currently displaying revision 4, show latest
x
1
--- share/vmwarerc.orig 2011-04-14 16:20:37.000000000 +0200
2
+++ share/vmwarerc 2011-07-09 01:47:43.101155069 +0200
3
4
5
# Loading the vmware library for mads
6
# Please leave this uncommented
7
-load ENV['ONE_LOCATION'] + "/lib/ruby/vmwarelib.rb"
8
+ONE_LOCATION=ENV["ONE_LOCATION"]
9
+
10
+if !ONE_LOCATION
11
+ VMWARELIB = "/usr/lib/one/ruby/vmwarelib.rb"
12
+else
13
+ VMWARELIB = ONE_LOCATION + "/lib/ruby/vmwarelib.rb"
14
+end
15
+
16
+load VMWARELIB
17
18
ENV['LANG']='C'
19
20