Changeset 1988 for branches/blt4


Ignore:
Timestamp:
Dec 8, 2010 4:54:27 PM (13 years ago)
Author:
gah
Message:

allow octave2 and octave3 versions to coexist

Location:
branches/blt4/gui/apps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/apps/rappture-csh.env.in

    r1897 r1988  
    4747
    4848if ( $?OCTAVE_PATH ) then
    49   setenv OCTAVE_PATH "${libdir}/octave:$OCTAVE_PATH"
     49  setenv OCTAVE_PATH "${libdir}/octave${octave_version}:$OCTAVE_PATH"
    5050else
    51   setenv OCTAVE_PATH "${libdir}/octave"
     51  setenv OCTAVE_PATH "${libdir}/octave${octave_version}"
    5252endif
    5353
     54# This depends upon the hacked version of octave that we install on the hubs.
    5455if ( $?OCTAVE_LOADPATH ) then
    55   setenv OCTAVE_LOADPATH "${libdir}/octave${octave_version}:$OCTAVE_LOADPATH"
     56  setenv OCTAVE_LOADPATH "${libdir}/octave3:$OCTAVE_LOADPATH"
    5657else
    57   setenv OCTAVE_LOADPATH "${libdir}/octave${octave_version}"
     58  setenv OCTAVE_LOADPATH "${libdir}/octave3"
    5859endif
    5960
  • branches/blt4/gui/apps/rappture.env.in

    r1897 r1988  
    3636
    3737MATLABPATH=${libdir}/matlab:$MATLABPATH
    38 OCTAVE_LOADPATH=:${libdir}/octave${octave_version}:$OCTAVE_LOADPATH
     38# This depends upon the hacked version of octave that we install
     39OCTAVE_LOADPATH=:${libdir}/octave3:$OCTAVE_LOADPATH
    3940OCTAVE_PATH=:${libdir}/octave${octave_version}:$OCTAVE_PATH
    4041
  • branches/blt4/gui/apps/rappture.use.in

    r1897 r1988  
    1414python_version=@PYTHON_VERSION@
    1515tcl_version=@TCL_VERSION@
     16octave_version=@OCTAVE_VERSION_MAJOR@
    1617
    1718prepend PATH ${bindir}
     
    2324
    2425prepend MATLABPATH ${libdir}/matlab
    25 prepend OCTAVE_PATH :${libdir}/octave:
    26 prepend OCTAVE_LOADPATH :${libdir}/octave:
     26prepend OCTAVE_PATH :${libdir}/octave${octave_version}:
     27prepend OCTAVE_LOADPATH :${libdir}/octave3:
    2728
    2829prepend PERL5LIB ${libdir}/perl
Note: See TracChangeset for help on using the changeset viewer.