- Timestamp:
- 2009-03-06T15:25:11+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/gli.sh
r17819 r18634 1 #!/bin/ sh1 #!/bin/bash 2 2 3 3 # Function that, when given gsdlpath as parameter, will return the 4 4 # version of greenstone that is to run (2 or 3). If things are not, 5 5 # this program will exit here. 6 get_version (){6 get_version { 7 7 # first parameter is value of gsdlpath 8 8 if [ -f "${1}/gs3-setup.sh" ]; then … … 22 22 # and checks the installation. 23 23 # If things are not right, this program will exit here. 24 check_installation (){24 check_installation { 25 25 # Check that the Greenstone installation looks OK 26 26 if [ "$3" = "es" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.