Changeset 18850

Show
Ignore:
Timestamp:
31.03.2009 18:48:23 (10 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).

Files:
1 modified

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