Changeset 17552 for gli/trunk/gli.sh
- Timestamp:
- 2008-10-17T14:16:14+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/gli.sh
r17534 r17552 280 280 281 281 # sus out search4j 282 if [ "$_version" -eq 2 -a -x "$GSDLHOME/bin/ search4j" ]; then283 SEARCH4J_EXECUTABLE=$GSDLHOME/bin/ search4j284 elif [ "$_version" -eq 3 -a -x "$GSDL3SRCHOME/bin/ search4j" ]; then285 SEARCH4J_EXECUTABLE=$GSDL3SRCHOME/bin/ search4j286 elif [ -x "../bin/search4j/ search4j" ]; then287 SEARCH4J_EXECUTABLE=../bin/ search4j282 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 288 288 else 289 289 echo "Couldn't determine the location of the search4j executable" 290 290 echo "If you are running Greenstone2" 291 291 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" 294 294 echo "If you are running Greenstone3" 295 295 echo " * check GSDL3SRCHOME is set"
Note:
See TracChangeset
for help on using the changeset viewer.