Changeset 20078

Show
Ignore:
Timestamp:
23.07.2009 08:56:00 (10 years ago)
Author:
oranfry
Message:

correction and simplifications

Files:
1 modified

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