Ignore:
Timestamp:
2009-08-10T10:56:41+12:00 (15 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
  • gli/trunk/findjava.sh

    r19769 r20186  
    6767    # Give search4j a hint to find Java depending on the platform
    6868    if [ $GSDLOS = linux ]; then
    69     HINT=`cd $GSDLHOME;pwd`/packages/jre
     69    HINT=`cd "$GSDLHOME";pwd`/packages/jre
    7070    elif [ $GSDLOS = darwin ]; then
    7171    HINT=/System/Library/Frameworks/JavaVM.framework/Home
     
    129129    SEARCH4J_EXECUTABLE=search4j   
    130130elif [ -x "$GSDLHOME/bin/$GSDLOS/search4j" ]; then
    131     SEARCH4J_EXECUTABLE=$GSDLHOME/bin/$GSDLOS/search4j
     131    SEARCH4J_EXECUTABLE="$GSDLHOME/bin/$GSDLOS/search4j"
    132132elif [ -x "$GSDL3SRCHOME/bin/$GSDLOS/search4j" ]; then
    133     SEARCH4J_EXECUTABLE=$GSDL3SRCHOME/bin/search4j
     133    SEARCH4J_EXECUTABLE="$GSDL3SRCHOME/bin/search4j"
    134134elif [ -x "../bin/$GSDLOS/search4j" ]; then
    135135    SEARCH4J_EXECUTABLE=../bin/$GSDLOS/search4j
Note: See TracChangeset for help on using the changeset viewer.