Ignore:
Timestamp:
2009-08-10T10:57:45+12:00 (13 years ago)
Author:
kjdon
Message:

added some quotes around various paths so that can install into somewhere with spaces in path

File:
1 edited

Legend:

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

    r20059 r20187  
    77
    88  # remove leading ./ if present
    9   prog=${0#./}
     9  prog="${0#./}"
    1010
    11   isrelative=${prog%%/*}
     11  isrelative="${prog%%/*}"
    1212
    1313  if [ ! -z $isrelative ] ; then
    1414    # some text is left after stripping
    1515    # => is relative
    16     pwd=$PWD
     16    pwd="$PWD"
    1717    prog="$pwd/$prog"
    1818  fi
    1919
    20   fulldir=${prog%/*}
     20  fulldir="${prog%/*}"
    2121
    2222  # remove trailing /. if present
    23   eval $1=${fulldir%/.}
     23  eval $1=\""${fulldir%/.}"\"
    2424}
    2525
     
    3838# Some users may set the above line manually
    3939if [ -z "$gsdl3path" ]; then
    40    autoset_gsdl_home gsdl3path
     40   autoset_gsdl_home "gsdl3path"
    4141fi
    4242
     
    4848fi
    4949
    50 
     50echo $PATH
    5151# JRE_HOME or JAVA_HOME must be set correctly to run this program
    5252HINT="`pwd`/packages/jre"
Note: See TracChangeset for help on using the changeset viewer.