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-mysql-server.sh

    r6552 r6913  
    4040# in the /etc/my.cnf, ~/.my.cnf or other MySQL configuration files.
    4141
     42if [ ! -f gs3-setup.sh ]; then
     43    echo "You must run this script from within the Greenstone home directory"
     44    exit 1
     45fi
     46
     47#check that GSDL3HOME is set
     48if test -z "$GSDL3HOME" ; then
     49  source gs3-setup.sh
     50 exit;
     51fi
     52
    4253basedir=
    4354
    4455# The following variables are only set for letting mysql.server find things.
     56
    4557
    4658# Set some defaults
Note: See TracChangeset for help on using the changeset viewer.