Changeset 23661 for main/trunk
- Timestamp:
- 2011-02-02T15:36:01+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/gsicontrol.sh
r23252 r23661 3 3 testdone=0 4 4 5 # Setup.bash needs to be sourced 6 # On MAC, need to tell apache to find and use its own libiconv<num>.dylib 7 # If gs2-server.sh is run from GLI, we can't just test for the existence 8 # of "apache-httpd", so use the full path (from GSDLHOME) to test it exists 5 9 function test-gsdlhome { 6 10 if [ $testdone == "0" ] ; then … … 16 20 echo " GSDLHOME = $GSDLHOME" ; 17 21 echo " GSDLOS = $GSDLOS" ; 22 if test -e "$GSDLHOME/apache-httpd" ; then 23 echo "+Adding in executable path for apache-httpd" 24 PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH 25 export PATH 26 27 if test "$GSDLOS" = "linux" ; then 28 LD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH" 29 export LD_LIBRARY_PATH 30 elif test "$GSDLOS" = "darwin" ; then 31 DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH" 32 export DYLD_LIBRARY_PATH 33 fi 34 fi 18 35 fi 19 36 testdone=1
Note:
See TracChangeset
for help on using the changeset viewer.