[Bio] / ReleaseTools / RTPath.csh Repository:
ViewVC logotype

Diff of /ReleaseTools/RTPath.csh

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

revision 1.2, Fri Mar 26 20:33:14 2004 UTC revision 1.5, Fri May 6 21:44:38 2005 UTC
# Line 65  Line 65 
65    
66  set reldir=${RTDIST}/releases/${RTCURRENT}/${RTARCH}  set reldir=${RTDIST}/releases/${RTCURRENT}/${RTARCH}
67    
68    #if ( -f rtConfig ) then
69    #   source rtConfig
70    #   set reldir=${RTDIST}/releases/${baserelname}/${RTARCH}
71    #else
72    #   set reldir=${RTDIST}/releases/${RTCURRENT}/${RTARCH}
73    #endif
74    
75  if ( $?RTSITEOVERRIDE ) then  if ( $?RTSITEOVERRIDE ) then
76     set overridedir=${RTSITEOVERRIDE}/${RTCURRENT}/${RTARCH}     set overridedir=${RTSITEOVERRIDE}/${RTCURRENT}/${RTARCH}
77     set overridedirbin=$overridedir/bin     set overridedirbin=$overridedir/bin
# Line 87  Line 94 
94  else  else
95     #No MARKER...our first time, then     #No MARKER...our first time, then
96    
97     set path=($path `echo RTMARKER $workdir/bin $overridedirbin $reldir/bin RTMARKER` )     set path=(`echo RTMARKER $workdir/bin $overridedirbin $reldir/bin RTMARKER` $path)
98    
99  endif  endif
100    
# Line 100  Line 107 
107    
108  if ( `echo $PYTHONPATH | grep RTMARKER` != "" ) then  if ( `echo $PYTHONPATH | grep RTMARKER` != "" ) then
109    
110     setenv PYTHONPATH `echo $PYTHONPATH | sed "s%RTMARKER.*RTMARKER%RTMARKER:${workdir}/lib:${overridedirlib}:${reldir}/lib RTMARKER%g"`     setenv PYTHONPATH `echo $PYTHONPATH | sed "s%RTMARKER.*RTMARKER%RTMARKER:${workdir}/lib:${overridedirlib}:${reldir}/lib:RTMARKER%g"`
111    
112  else  else
113     #No MARKER...our first time, then     #No MARKER...our first time, then
114    
115     setenv PYTHONPATH ${PYTHONPATH}:`echo RTMARKER:${workdir}/lib:${overridedirlib}:${reldir}/lib:RTMARKER`     setenv PYTHONPATH `echo RTMARKER:${workdir}/lib:${overridedirlib}:${reldir}/lib:RTMARKER`:${PYTHONPATH}
116  endif  endif
117    
118  #  #

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3