Ignore:
Timestamp:
07/03/08 08:02:31 (12 years ago)
Author:
melissa
Message:

Check the script's directory (not the working directory) for loci_tools.jar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/tiffcomment

    r3474 r4160  
    1414 
    1515PROG=loci.formats.tools.TiffComment 
     16DIR=`dirname $0` 
    1617 
    1718if [ $LOCI_DEVEL ] 
    1819then 
    1920  java -mx512m $PROG "$@" 
    20 elif [ -e loci_tools.jar ] || [ -e bio-formats.jar ] 
     21elif [ -e $DIR/loci_tools.jar ] || [ -e $DIR/bio-formats.jar ] 
    2122then 
    22   java -mx512m -cp bio-formats.jar:loci_tools.jar $PROG "$@" 
     23  java -mx512m -cp $DIR/bio-formats.jar:$DIR/loci_tools.jar $PROG "$@" 
    2324else 
    2425  echo "Required JAR libraries not found. Please download:" 
Note: See TracChangeset for help on using the changeset viewer.