Changeset 20984


Ignore:
Timestamp:
2009-11-30T23:28:03+13:00 (14 years ago)
Author:
davidb
Message:

setup now looks for 'child' setup.bash files in the 'ext' folder and sources those as well if found (as is already done for GS2). Minor tweaks to improve readability of echo statements added also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/gs3-setup.sh

    r20982 r20984  
    263263setGS3ENV
    264264
     265if test -e ext ; then
     266  for gsdl_ext in ext/* ; do
     267    if [ -d $gsdl_ext ] ; then
     268      cd $gsdl_ext > /dev/null
     269      if test -e setup.bash ; then
     270        source ./setup.bash
     271      fi
     272      cd ../.. 
     273    fi
     274  done
     275fi
     276
    265277if test -e local ; then
    266278  if test -e local/gs3-setup.sh ; then
     279    echo ""
    267280    echo "Sourcing local/gs3-setup.sh"
    268281    cd local ; source gs3-setup.sh ; cd ..
     
    277290fi
    278291
     292
    279293checkJava
     294echo ""
Note: See TracChangeset for help on using the changeset viewer.