Last change
on this file was 37685, checked in by davidb, 13 months ago |
Further upgrading: this one so it can be run from other directories
|
-
Property svn:executable
set to
*
|
File size:
446 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # This script can be run from any directory, but the script file itself
|
---|
4 | # NEEDS TO BE IN THE TOP-LEVEL GREENSTONE3 SRC HOME DIRECTORY
|
---|
5 |
|
---|
6 | store_pwd="$(pwd)"
|
---|
7 | full_progdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
|
---|
8 | cd "$full_progdir"
|
---|
9 |
|
---|
10 |
|
---|
11 | # Could add custom code here if needed, but likely already dealt with
|
---|
12 | # in companion "ANT-*CUSTOM.sh" scripts
|
---|
13 |
|
---|
14 | ./ant-stop-with-exts.sh && ./ant-start-with-exts.sh
|
---|
15 |
|
---|
16 |
|
---|
17 | cd "$store_pwd"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.