Changeset 13675
- Timestamp:
- 2007-01-18T13:25:12+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/gems4gs3.sh
r13554 r13675 44 44 fi 45 45 46 47 ## ---- Determine GSDLHOME ---- 48 gsdlpath= 49 46 ## ---- Determine GSDL3SRCHOME ---- 47 gsdl3srcpath= 50 48 # Some users may set the above line manually 51 if [ "x$gsdl path" = "x" ]; then49 if [ "x$gsdl3srcpath" = "x" ]; then 52 50 # Check the environment variable first 53 if [ "x$GSDL HOME" != "x" ]; then54 gsdl path=$GSDLHOME55 56 # If it is not set, assume that the GLI (and thus GEMS) is installed as a subdirectory of Greenstone 57 else 58 gsdl path=`(cd .. && pwd)`51 if [ "x$GSDL3SRCHOME" != "x" ]; then 52 gsdl3srcpath=$GSDL3SRCHOME 53 54 # If it is not set, assume that the GLI (and thus GEMS) is installed as a subdirectory of Greenstone3 55 else 56 gsdl3srcpath=`(cd .. && pwd)` 59 57 fi 60 58 fi … … 62 60 # Check that the Greenstone installation looks OK 63 61 if [ "$glilang" = "es" ]; then 64 echo "Revisando GSDL : $gsdlpath"65 elif [ "$glilang" = "fr" ]; then 66 echo "Vérification de GSDL : $gsdlpath"67 elif [ "$glilang" = "ru" ]; then 68 echo "ðÒÏ×ÅÒËÁ GSDL : $gsdlpath"69 else 70 echo "Checking GSDL : $gsdlpath"71 fi 72 if [ ! -f "${gsdl path}/gs3-setup.sh" ] ; then62 echo "Revisando GSDL3: $gsdl3srcpath" 63 elif [ "$glilang" = "fr" ]; then 64 echo "Vérification de GSDL3: $gsdl3srcpath" 65 elif [ "$glilang" = "ru" ]; then 66 echo "ðÒÏ×ÅÒËÁ GSDL3: $gsdl3srcpath" 67 else 68 echo "Checking GSDL3: $gsdl3srcpath" 69 fi 70 if [ ! -f "${gsdl3srcpath}/gs3-setup.sh" ] ; then 73 71 echo 74 72 if [ "$glilang" = "es" ]; then … … 89 87 fi 90 88 91 # Setup Greenstone , unless it has already been done92 if [ "x$GSDL HOME" = "x" ]; then93 cd "$gsdl path"89 # Setup Greenstone3, unless it has already been done 90 if [ "x$GSDL3SRCHOME" = "x" ]; then 91 cd "$gsdl3srcpath" 94 92 . gs3-setup.sh 95 93 cd "$thisdir" … … 215 213 # -Xloggc:<file> Write garbage collection log 216 214 217 $javapath -classpath classes/:GLI.jar:lib/apache.jar org.greenstone.gatherer.gems.GEMS -gsdl $GSDLHOME $* 215 216 $javapath -classpath classes/:GLI.jar:lib/apache.jar org.greenstone.gatherer.gems.GEMS -gsdl3 $GSDL3HOME $* 218 217 219 218 if [ "$glilang" = "es" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.