Project

General

Profile

setup_nova_fnal.csh

Xinchun Tian, 11/04/2009 04:14 PM

 
1
#!/bin/csh
2
    
3
#
4
# NOVAHOME
5
#
6
if ( ! $?NOVAHOME ) then
7
    setenv NOVAHOME /nas-pool/e929/users/tianxc/nova
8
endif
9
#
10
# NOVASVN
11
#
12
if ( ! $?NOVASVN ) then
13
    setenv NOVASVN svn+ssh://p-nova@cdcvs.fnal.gov/cvs/projects/nova
14
endif
15
    
16
# The NuWa release could be configured for analysis in the following line
17
if ( $1 == "" ) then
18
    setenv NOVA_RELEASE nova-trunk
19
else
20
    setenv NOVA_RELEASE $1
21
    shift
22
endif
23
	
24
pushd $NOVAHOME/${NOVA_RELEASE} >/dev/null
25
source setup.csh
26
popd >/dev/null
27
pushd $NOVAHOME/$NOVA_RELEASE/novafmwk/novaRelease/cmt >/dev/null
28
source setup.csh
29
popd >/dev/null
30
	    
31
unsetenv NOVA_RELEASE