Skip to content
Snippets Groups Projects
Commit 0b40e5fe authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

better handling of envrionment variables

parent ec780c6a
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,8 @@ LIBDIRS = [os.sep.join(['', 'opt', 'globus', 'lib']),
os.sep.join(['', 'usr', 'lib'])]
if os.environ.has_key('GLOBUS_LOCATION'):
gl = os.environ['GLOBUS_LOCATION']
INCDIRS = [os.sep.join([gl,'include',FLAVOUR])]
LIBDIRS = [os.sep.join([gl,'lib'])]
INCDIRS = [os.sep.join([gl,dir]) for dir in INCDIRS]
LIBDIRS = [os.sep.join([gl,dir]) for dir in LIBDIRS]
#------------------------------------------------------------------------------
# Usage
......
......@@ -35,6 +35,10 @@ ORACLE_DIRS = ("/usr/__lib__/oracle/__version__/__client__", "/afs/cern.ch/proj
LIBDIRS = ("lib64", "lib")
VERSIONS = ("11.2.0.3.0", "11.2", "10.2.0.3", "10203")
CLIENTS = ("client", "client64")
if os.environ.has_key('ORACLE_HOME'):
ORACLE_DIRS = (os.environ['ORACLE_HOME'],)
VERSIONS = ('unused',)
CLIENTS = ('unused',)
#------------------------------------------------------------------------------
# Usage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment