Changeset 23646 for main/trunk/greenstone2
- Timestamp:
- 2011-01-28T14:50:24+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/gs2-server.sh
r23634 r23646 1 1 #!/bin/bash 2 3 if test -e apache-httpd ; then4 if test "$GSDLOS" = "darwin" ; then5 echo "+Adding in executable path for apache-httpd"6 PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH7 export PATH8 DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH"9 export DYLD_LIBRARY_PATH10 fi11 fi12 13 2 14 3 if [ -z "$serverlang" ]; then … … 75 64 fi 76 65 66 # On MAC, need to tell apache to find and use its own libiconv(?).dylib 67 if test -e apache-httpd ; then 68 if test "$GSDLOS" = "darwin" ; then 69 echo "+Adding in executable path for apache-httpd" 70 PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH 71 export PATH 72 DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH" 73 export DYLD_LIBRARY_PATH 74 fi 75 fi 77 76 78 77 # First test that there is actually something that can be run...
Note:
See TracChangeset
for help on using the changeset viewer.