Ignore:
Timestamp:
2011-08-03T21:27:23+12:00 (12 years ago)
Author:
ak19
Message:

The method of locating perl has changed once more: util.pm now defines the fuction get_perl_exec which is used by other scripts to obtain the path to the perl executable they should use. On Windows, setup.bat sets up the PERLPATH env var to the perl included with Greenstone when working with binaries. The same is done for Linux for symmetry, although perl is not included with GS in a linux GS binary at present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/setup.bash

    r23947 r24363  
    317317if [ -d "$GSDLHOME/bin/$GSDLOS$GSDLARCH/perl" ] ; then
    318318
    319     PATH=$GSDLHOME/bin/$GSDLOS$GSDLARCH/perl/bin:$PATH
    320     export PATH
     319    if [ -d "$GSDLHOME/bin/$GSDLOS$GSDLARCH/perl/bin" ] ; then
     320        PERLPATH=$GSDLHOME/bin/$GSDLOS$GSDLARCH/perl/bin
     321        export PERLPATH
     322        PATH=$PERLPATH:$PATH
     323        export PATH
     324    fi   
    321325
    322326    if test "$GSDLOS" = "linux" ; then
Note: See TracChangeset for help on using the changeset viewer.