Ignore:
Timestamp:
2004-03-04T14:45:23+13:00 (20 years ago)
Author:
kjdon
Message:

now these scripts need to be run from gsdl3 home dir, and source setup.sh will be run if gsdl3home not defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/gs3-finalise.sh

    r6561 r6913  
    33##  gs3-finalise.sh -- Install Greenstone 3
    44
     5if [ ! -f gs3-setup.sh ]; then
     6    echo "You must run this script from within the Greenstone home directory"
     7    exit 1
     8fi
     9
    510#check that GSDL3HOME is set
    611if test -z "$GSDL3HOME" ; then
    7   echo "You need to 'source gs3-setup.sh' before running this script"
     12  source gs3-setup.sh
    813 exit;
    914fi
     15
    1016gsdl3home=$GSDL3HOME
    1117# Prompt for the computer name
     
    7783
    7884# We also edit the GSDL3 launching script and the SOAP deployment script
     85cp gs3-launch.sh.in gs3-launch.sh
     86cp gs3-soap-deploy-site.sh.in gs3-soap-deploy-site.sh
     87
    7988if [ "$hostname" != "localhost" ] ; then
    8089    sed "s|localhost|${hostname}|" gs3-launch.sh > gs3-launch.tmp && mv gs3-launch.tmp gs3-launch.sh
Note: See TracChangeset for help on using the changeset viewer.