/[CCFs]/ccf-setup.csh
ViewVC logotype

Diff of /ccf-setup.csh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by ccflib, Fri Dec 12 13:47:43 2014 UTC revision 1.8 by ccflib, Fri Dec 12 14:08:16 2014 UTC
# Line 1  Line 1 
1  #! /bin/csh  #! /bin/tcsh
2  #  #
3  # ccf-setup.csh  # ccf-setup.csh
4  #  #
5  # Setup to build CCF from user's home  # Setup to build CCF from user's home
6  #  #
7  # $Id: ccf-setup.csh,v 1.6 2014/12/11 16:56:54 ccflib Exp $  # $Id: ccf-setup.csh,v 1.7 2014/12/12 13:47:43 ccflib Exp $
8    
9    
10  set host=`hostname | cut -d. -f1`  set host=`hostname | cut -d. -f1`
# Line 41  endsw Line 41  endsw
41    
42  setenv CCFDEV ${CCFLIB_HOME}/ccfdev  setenv CCFDEV ${CCFLIB_HOME}/ccfdev
43    
44  if ( ! -d "${CCFDEV}" ) then  if ( ! -d $CCFDEV ) then
45     echo "ccf-setup.csh: ${CCFDEV} not found! - Abort"      echo "ccf-setup.csh: $CCFDEV not found! - Abort"
46     return      return
47  endif  endif
48    
49    
50  # Set the CVS access to CCF package repository  # Set the CVS access to CCF package repository
51    
52  setenv CVSROOT ${CCFLIB_HOME/ccfcvs  setenv CVSROOT ${CCFLIB_HOME}/ccfcvs
53    
54  # Heasoft  # Heasoft
55    
56  setenv HEADAS "/sasbuild/local/${refhost}/headas/architecture"  setenv HEADAS "/sasbuild/local/${refhost}/headas/architecture"
57  if ( ! -d "${HEADAS}" ) then  if ( ! -d $HEADAS )  then
58     echo "ccf-setup.csh: ${HEADAS} does not exist! - Abort"     echo "ccf-setup.csh: $HEADAS does not exist! - Abort"
59     return     return
60  endif  endif
61  source ${HEADAS}/headas-init.csh  source ${HEADAS}/headas-init.csh
# Line 66  if ( ! -f "$HOME/setsas.csh" ) then Line 66  if ( ! -f "$HOME/setsas.csh" ) then
66    /sas/bin/confsas    /sas/bin/confsas
67  endif  endif
68    
69  source $HOME/setsas.csh  source $HOME/setsas.csh > /dev/null
70    
71  setenv SAS_MEMORY_MODEL Low  setenv SAS_MEMORY_MODEL Low
72    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.27