ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/unfoldEnv.py
(Generate patch)

Comparing COMP/CRAB/python/unfoldEnv.py (file contents):
Revision 1.1 by farinafa, Fri Oct 26 14:27:01 2007 UTC vs.
Revision 1.2 by farinafa, Tue Oct 30 10:12:33 2007 UTC

# Line 15 | Line 15 | if 'CMSSW_BASE' not in os.environ:
15       print 'echo "CMSSW_BASE not set"'
16       sys.exit(-1)
17  
18 < shKind = 'csh'
19 < if 'bash' in os.environ['SHELL']:
18 > shKind = 'sh' # fix for wrapper shell, temporary #'csh' #Fabio
19 > if 'BASH' in os.environ:
20      shKind = 'sh'
21  
22   # extract the env setting introduced by scram

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines