ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cms-env.spec
(Generate patch)

Comparing COMP/CMSDIST/cms-env.spec (file contents):
Revision 1.6 by eulisse, Wed Jun 21 09:27:08 2006 UTC vs.
Revision 1.7 by eulisse, Wed Jun 21 14:45:02 2006 UTC

# Line 37 | Line 37 | done
37   EOF_CMSSET_DEFAULT_SH
38  
39   cat << \EOF_CMSSET_DEFAULT_CSH > %instroot/cmsset_default.csh
40 +
41   if (${?PATH}) then
42      setenv PATH %instroot/bin:$PATH
43   else
# Line 74 | Line 75 | switch ( ${SCRAM_ARCH} )
75   endsw
76  
77   setenv SCRAM_ARCH ${SCRAM_ARCH}_${compilerv}
78 < setenv here `dirname $0`
78 > if ( ${?VO_CMS_SW_DIR} ) then
79 >    setenv here $VO_CMS_SW_DIR
80 > else
81 >    setenv here .
82 > endif
83 >
84 > if ( ! -e $here/cmsset_default.csh ) then
85 >    echo "Please cd into the directory where cmsset_default.csh is."
86 > endif
87  
88   foreach pkg ( `ls ${here}/${SCRAM_ARCH}/etc/profile.d/ | grep -e'^S.*[.]csh'` )
89          source ${here}/${SCRAM_ARCH}/etc/profile.d/$pkg

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines