Changeset 20186
- Timestamp:
- 2009-08-10T10:56:41+12:00 (14 years ago)
- Location:
- gli/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/findgsdl.sh
r19403 r20186 99 99 # _version not set, but both env vars set, so default to 3 100 100 _version=3 101 gsdlpath= $GSDL3SRCHOME101 gsdlpath="$GSDL3SRCHOME" 102 102 echo "Both Greenstone 2 and Greenstone 3 environments are set." 103 103 echo "It is assumed you want to run Greenstone 3." … … 107 107 elif [ "x$GSDL3SRCHOME" != "x" ]; then 108 108 echo "Only gsdl3srchome set" 109 gsdlpath= $GSDL3SRCHOME109 gsdlpath="$GSDL3SRCHOME" 110 110 _version=3 111 111 echo "$gsdlpath" 112 112 elif [ "x$GSDLHOME" != "x" ]; then 113 gsdlpath= $GSDLHOME113 gsdlpath="$GSDLHOME" 114 114 _version=2 115 115 # If it is not set, assume that the GLI is installed as a subdirectory of Greenstone … … 164 164 echo "GSDLHOME environment variable is set to $GSDLHOME." 165 165 echo "Will use this to find build scripts." 166 gsdl2path= $GSDLHOME166 gsdl2path="$GSDLHOME" 167 167 # If it is not set, assume that the gs2build subdirectory of Greenstone 3 exists 168 168 else 169 gsdl2path= $GSDL3SRCHOME/gs2build169 gsdl2path="$GSDL3SRCHOME/gs2build" 170 170 fi 171 171 fi -
gli/trunk/findjava.sh
r19769 r20186 67 67 # Give search4j a hint to find Java depending on the platform 68 68 if [ $GSDLOS = linux ]; then 69 HINT=`cd $GSDLHOME;pwd`/packages/jre69 HINT=`cd "$GSDLHOME";pwd`/packages/jre 70 70 elif [ $GSDLOS = darwin ]; then 71 71 HINT=/System/Library/Frameworks/JavaVM.framework/Home … … 129 129 SEARCH4J_EXECUTABLE=search4j 130 130 elif [ -x "$GSDLHOME/bin/$GSDLOS/search4j" ]; then 131 SEARCH4J_EXECUTABLE= $GSDLHOME/bin/$GSDLOS/search4j131 SEARCH4J_EXECUTABLE="$GSDLHOME/bin/$GSDLOS/search4j" 132 132 elif [ -x "$GSDL3SRCHOME/bin/$GSDLOS/search4j" ]; then 133 SEARCH4J_EXECUTABLE= $GSDL3SRCHOME/bin/search4j133 SEARCH4J_EXECUTABLE="$GSDL3SRCHOME/bin/search4j" 134 134 elif [ -x "../bin/$GSDLOS/search4j" ]; then 135 135 SEARCH4J_EXECUTABLE=../bin/$GSDLOS/search4j
Note:
See TracChangeset
for help on using the changeset viewer.