Ignore:
Timestamp:
2009-11-12T14:41:39+13:00 (14 years ago)
Author:
oranfry
Message:

modifications to environment vars LD_LIBRARY_PATH and PATH relating to wvWare on linux to be done in a narrower scope. this also fixes a probable bug which would have stopped the newer wvWare being used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/setup.bash

    r20923 r20933  
    158158  export GSDLOS
    159159
    160   PATH=$GSDLHOME/bin/$GSDLOS/wv/bin:$GSDLHOME/bin/script:$GSDLHOME/bin/$GSDLOS:$PATH
     160  PATH=$GSDLHOME/bin/script:$GSDLHOME/bin/$GSDLOS:$PATH
    161161  export PATH
    162162 
    163   # Allow wvWare binary to find the required libraries.
    164         if test "$GSDLOS" = "linux" ; then
    165             LD_LIBRARY_PATH="$GSDLHOME/bin/$GSDLOS/wv/lib:$LD_LIBRARY_PATH"
    166             export LD_LIBRARY_PATH
    167        
    168         elif test "$GSDLOS" = "darwin" ; then
    169             DYLD_LIBRARY_PATH="$GSDLHOME/bin/$GSDLOS/wv/lib:$DYLD_LIBRARY_PATH"
    170             export DYLD_LIBRARY_PATH
    171         fi
    172 
    173  
    174  
     163 
    175164  # Override Imagemagick and Ghostscript paths to the bundled applications shipped with greenstone if they exists otherwise use default environment variables.
    176165
Note: See TracChangeset for help on using the changeset viewer.