Last change
on this file since 38874 was 37685, checked in by davidb, 14 months ago |
Further upgrading: this one so it can be run from other directories
|
-
Property svn:executable
set to
*
|
File size:
446 bytes
|
Rev | Line | |
---|
[37620] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
[37685] | 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 |
|
---|
[37620] | 11 | # Could add custom code here if needed, but likely already dealt with
|
---|
| 12 | # in companion "ANT-*CUSTOM.sh" scripts
|
---|
| 13 |
|
---|
[37684] | 14 | ./ant-stop-with-exts.sh && ./ant-start-with-exts.sh
|
---|
[37620] | 15 |
|
---|
| 16 |
|
---|
[37685] | 17 | cd "$store_pwd"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.