source: main/trunk/greenstone3/service.d/greenstone3-start.sh

Last change on this file was 37683, checked in by davidb, 12 months ago

Renaming of scripts from 'CUSTOM' to 'with-exts'; scripts updated to use the new name

File size: 460 bytes
RevLine 
[34322]1#!/bin/bash
[34321]2
[36483]3# See: https://stackoverflow.com/questions/29832037/how-to-get-script-directory-in-posix-sh/29835459#29835459
[34321]4
[36483]5full_progdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
6full_parentdir=${full_progdir%/*}
[34323]7
[37161]8cd "$full_parentdir" \
9 && if [ -f SETUP.bash ] ; then . ./SETUP.bash ; else . ./gs3-setup-cli.sh && . ./gs3-setup.sh ; fi \
[37683]10 && if [ -f ant-start-with-exts.sh ] ; then ./ant-start-with-exts.sh ; else ant start ; fi
[36483]11
Note: See TracBrowser for help on using the repository browser.