source: TI12-security/tags/rel0-1/python/ndgSetup.sh @ 641

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/tags/rel0-1/python/ndgSetup.sh@641
Revision 641, 1002 bytes checked in by pjkersha, 15 years ago (diff)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#! /bin/bash
2#
3# Set-up script for NDG security software
4#
5# Run this script to initialise the environment for
6# NDG security
7#
8# NERC Data Grid Project
9#
10# P J Kershaw 21/10/05
11#
12# Copyright (C) 2005 CCLRC & NERC
13#
14# This software may be distributed under the terms of the Q Public License,
15# version 1.0 or later.
16#
17# $Id$
18
19# NDG Installation directory
20export NDG_DIR=<NDG location>
21
22
23# NDG Custom Python installation
24if [ ! `echo ${PATH} | grep "${NDG_DIR}<python location>"` ]; then
25
26    export PATH=${NDG_DIR}<python location>:$PATH
27fi
28
29# Globus Toolkit and MyProxy Server
30export GLOBUS_LOCATION=<Globus location>
31export MYPROXY_SERVER=<hostname>
32
33if [ ! `echo ${PATH} | grep "${GLOBUS_LOCATION}/bin"` ]; then
34
35    export PATH=${PATH}:${GLOBUS_LOCATION}/bin
36fi
37
38if [ ! `echo ${PATH} | grep "${GLOBUS_LOCATION}/sbin/"` ]; then
39
40    export PATH=${PATH}:${GLOBUS_LOCATION}/sbin/
41fi
42
43
44# MySQL
45if [ ! `echo ${PATH} | grep "/usr/local/mysql/bin"` ]; then
46
47    export PATH=/usr/local/mysql/bin:$PATH
48fi
Note: See TracBrowser for help on using the repository browser.