Changeset 17552 for gli

Show
Ignore:
Timestamp:
17.10.2008 14:16:14 (11 years ago)
Author:
oranfry
Message:

corrected the path of search4j

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.sh

    r17534 r17552  
    280280 
    281281    # sus out search4j 
    282     if [ "$_version" -eq 2 -a -x "$GSDLHOME/bin/search4j" ]; then 
    283         SEARCH4J_EXECUTABLE=$GSDLHOME/bin/search4j 
    284     elif [ "$_version" -eq 3 -a -x "$GSDL3SRCHOME/bin/search4j" ]; then 
    285         SEARCH4J_EXECUTABLE=$GSDL3SRCHOME/bin/search4j 
    286     elif [ -x "../bin/search4j/search4j" ]; then 
    287         SEARCH4J_EXECUTABLE=../bin/search4j 
     282    if [ "$_version" -eq 2 -a -x "$GSDLHOME/bin/$GSDLOS/search4j" ]; then 
     283        SEARCH4J_EXECUTABLE=$GSDLHOME/bin/$GSDLOS/search4j 
     284    elif [ "$_version" -eq 3 -a -x "$GSDL3SRCHOME/bin/$GSDLOS/search4j" ]; then 
     285        SEARCH4J_EXECUTABLE=$GSDL3SRCHOME/bin/$GSDLOS/search4j 
     286    elif [ -x "../bin/search4j/$GSDLOS/search4j" ]; then 
     287        SEARCH4J_EXECUTABLE=../bin/$GSDLOS/search4j 
    288288    else 
    289289        echo "Couldn't determine the location of the search4j executable" 
    290290        echo "If you are running Greenstone2" 
    291291        echo "   * check GSDLHOME is set" 
    292         echo "   * check bin/search4j exists" 
    293         echo "   * check bin/search4j is executable" 
     292        echo "   * check bin/$GSDLOS/search4j exists" 
     293        echo "   * check bin/$GSDLOS/search4j is executable" 
    294294        echo "If you are running Greenstone3" 
    295295        echo "   * check GSDL3SRCHOME is set"