Changeset 30119 for main/trunk/greenstone3
- Timestamp:
- 2015-08-22T19:22:41+12:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/gs3-server.sh
r30106 r30119 104 104 # JRE_HOME or JAVA_HOME must be set correctly to run this program 105 105 HINT="`pwd`/packages/jre" 106 if [ "$GSDLOS" = "darwin" ] && [ ! -d "$HINT" ]; then 107 HINT=`/usr/libexec/java_home` 106 if [ "$GSDLOS" = "darwin" ]; then 107 if [ ! -d "$HINT" ]; then 108 HINT=`/usr/libexec/java_home` 109 fi 110 111 # set the mac icon for when launching this script manually 112 if [ -f "gs3-server.app/Contents/Resources/AutomatorApplet.icns" ]; then 113 opt_properties="$opt_properties -Xdock:icon=gs3-server.app/Contents/Resources/AutomatorApplet.icns" 114 fi 108 115 fi 116 109 117 javapath=`search4j -p "$HINT" -m $java_min_version -e` 110 118 if [ "$?" == "0" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.