source: main/trunk/greenstone3/ant-logreset-restart-with-exts.sh

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: 465 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
6store_pwd="$(pwd)"
7full_progdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
8cd "$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 reset-logs && ./ant-start-with-exts.sh
15
16
17cd "$store_pwd"
18
Note: See TracBrowser for help on using the repository browser.