ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/crab.sh
Revision: 1.5
Committed: Wed Mar 15 18:25:41 2006 UTC (19 years, 1 month ago) by fanzago
Content type: application/x-sh
Branch: MAIN
CVS Tags: post_cmssw_integration_20060527, pre_cmssw_integration_20060527, CRAB_1_1_0, CRAB_1_1_0_pre4, CRAB_1_1_0_pre3, CRAB_1_1_0_pre1, CRAB_1_0_7, CRAB_1_0_7_pre1
Changes since 1.4: +4 -38 lines
Log Message:
for cvs

File Contents

# User Rev Content
1 slacapra 1.1 #! /bin/sh
2     # CRAB related Stuff
3 fanzago 1.5 export CRABDIR=`\pwd`/..
4 slacapra 1.1 export CRABSCRIPT=${CRABDIR}
5    
6     CRABPATH=${CRABDIR}/python
7     CRABPYTHON=${CRABDIR}/python
8    
9     if [ -z "$PATH" ]; then
10     export PATH=${CRABPATH}
11     else
12     export PATH=${CRABPATH}:${PATH}
13     fi
14     if [ -z "$PYTHONPATH" ]; then
15     export PYTHONPATH=${CRABPYTHON}
16     else
17     export PYTHONPATH=${CRABPYTHON}:${PYTHONPATH}
18     fi
19 slacapra 1.2
20 fanzago 1.5 which boss 2>&1 > /dev/null
21     if [ $? -ne 0 ]; then
22     echo "boss env not set"
23 slacapra 1.2 fi