Ignore:
Timestamp:
07/17/08 14:35:03 (12 years ago)
Author:
curtis
Message:

Fix problem with command line tools on Unix when directory contains a space.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/tiffcomment

    r4164 r4207  
    77 
    88# JAR libraries must be in the same directory as this 
    9 # command line script for the command to function.   
     9# command line script for the command to function. 
    1010 
    1111# If you are a developer working from source and have 
     
    1414 
    1515PROG=loci.formats.tools.TiffComment 
    16 DIR=`dirname $0` 
     16DIR=`dirname "$0"` 
    1717 
    1818if [ $LOCI_DEVEL ] 
    1919then 
    2020  java -mx512m $PROG "$@" 
    21 elif [ -e $DIR/loci_tools.jar ] || [ -e $DIR/bio-formats.jar ] 
     21elif [ -e "$DIR/loci_tools.jar" ] || [ -e "$DIR/bio-formats.jar" ] 
    2222then 
    23   java -mx512m -cp $DIR/bio-formats.jar:$DIR/loci_tools.jar $PROG "$@" 
     23  java -mx512m -cp "$DIR/bio-formats.jar":"$DIR/loci_tools.jar" $PROG "$@" 
    2424else 
    2525  echo "Required JAR libraries not found. Please download:" 
Note: See TracChangeset for help on using the changeset viewer.