Changeset 23726 for main/trunk/greenstone2
- Timestamp:
- 2011-02-18T18:35:37+13:00 (13 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/gsicontrol.sh
r23661 r23726 3 3 testdone=0 4 4 5 # Setup.bash needs to be sourced6 # On MAC, need to tell apache to find and use its own libiconv<num>.dylib7 # If gs2-server.sh is run from GLI, we can't just test for the existence8 # of "apache-httpd", so use the full path (from GSDLHOME) to test it exists9 5 function test-gsdlhome { 10 6 if [ $testdone == "0" ] ; then … … 20 16 echo " GSDLHOME = $GSDLHOME" ; 21 17 echo " GSDLOS = $GSDLOS" ; 22 if test -e "$GSDLHOME/apache-httpd" ; then23 echo "+Adding in executable path for apache-httpd"24 PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH25 export PATH26 27 if test "$GSDLOS" = "linux" ; then28 LD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH"29 export LD_LIBRARY_PATH30 elif test "$GSDLOS" = "darwin" ; then31 DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH"32 export DYLD_LIBRARY_PATH33 fi34 fi35 18 fi 36 19 testdone=1 -
main/trunk/greenstone2/setup.bash
r23648 r23726 240 240 fi 241 241 242 if test -e apache-httpd ; then 243 echo "+Adding in executable path for apache-httpd" 244 PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH 245 export PATH 246 247 if test "$GSDLOS" = "linux" ; then 248 LD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH" 249 export LD_LIBRARY_PATH 250 251 elif test "$GSDLOS" = "darwin" ; then 252 DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH" 253 export DYLD_LIBRARY_PATH 254 fi 255 fi 256 242 257 if test -e local ; then 243 258 if test -e local/setup.bash ; then
Note:
See TracChangeset
for help on using the changeset viewer.