Changeset 20078


Ignore:
Timestamp:
2009-07-23T08:56:00+12:00 (14 years ago)
Author:
oranfry
Message:

correction and simplifications

File:
1 edited

Legend:

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

    r20077 r20078  
    151151
    152152function addtopath() {
    153   cmd="PV=\$$1"
    154   eval $cmd
     153  eval "PV=\$$1"
    155154  if [ `isinpath "$PV" "$2"` == "false" ]; then
    156155    #echo "$1 += $2"
     
    161160    fi
    162161    eval $cmd
    163     export PATH
     162    eval "export $1"
    164163  fi
    165164}
     165
    166166echo
    167167testSource
Note: See TracChangeset for help on using the changeset viewer.