Ignore:
Timestamp:
01/27/10 20:17:55 (11 years ago)
Author:
ak19
Message:

Copied the fix Oran had made for greenstone2's setup.bash into gs2build's setup.bash. His fix for the infinite loop that occurred when the ext directory exists but is empty.

File:
1 edited

Legend:

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

    r17193 r21686  
    183183unset gsdltoenc
    184184
    185 if [ -e ext ] ; then
    186   for gsdl_ext in ext/* ; do
    187     cd $gsdl_ext > /dev/null
    188     if [ -e setup.bash ] ; then
    189       . setup.bash
    190     fi
    191     cd ../.. 
     185if test -e ext; then
     186  for gsdl_ext in ext/*; do
     187    if test -d $gsdl_ext; then
     188      cd $gsdl_ext > /dev/null
     189      if test -e setup.bash ; then
     190        source ./setup.bash
     191      fi
     192      cd ../..
     193    fi
    192194  done
    193195fi
Note: See TracChangeset for help on using the changeset viewer.