Changeset 18850 for gli/trunk/gli.sh


Ignore:
Timestamp:
2009-03-31T18:48:23+13:00 (15 years ago)
Author:
ak19
Message:

Function definitions now have a different form: uses keyword function at start instead of () at end (the latter seems to imply no args when there are arguments).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.sh

    r18704 r18850  
    44# version of greenstone that is to run (2 or 3). If things are not,
    55# this program will exit here.
    6 get_version() {
     6function get_version {
    77    # first parameter is value of gsdlpath
    88    if [ -f "${1}/gs3-setup.sh" ]; then
     
    2222# and checks the installation.
    2323# If things are not right, this program will exit here.
    24 check_installation() {
     24function check_installation {
    2525# Check that the Greenstone installation looks OK
    2626    if [ "$3" = "es" ]; then
Note: See TracChangeset for help on using the changeset viewer.