Changeset 37685 for main


Ignore:
Timestamp:
2023-04-20T09:57:02+12:00 (12 months ago)
Author:
davidb
Message:

Further upgrading: this one so it can be run from other directories

Location:
main/trunk/greenstone3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/ant-logreset-restart-with-exts.sh

    r37682 r37685  
    11#!/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
    210
    311# Could add custom code here if needed, but likely already dealt with
    412# in companion "ANT-*CUSTOM.sh" scripts
    513
    6 ./ANT-STOP-CUSTOM.sh && ant reset-logs && ./ANT-START-CUSTOM.sh
     14./ant-stop-with-exts.sh && ant reset-logs && ./ant-start-with-exts.sh
    715
     16
     17cd "$store_pwd"
     18
  • main/trunk/greenstone3/ant-restart-with-exts.sh

    r37684 r37685  
    11#!/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
    210
    311# Could add custom code here if needed, but likely already dealt with
     
    715
    816
     17cd "$store_pwd"
  • main/trunk/greenstone3/ant-start-with-exts.sh

    r37684 r37685  
    11#!/bin/bash
    22
     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"
    39
    410if test "x$gsopt_noexts" != "x1" ; then
     
    5258
    5359# Any customized clean up needed?
     60
     61
     62cd "$store_pwd"
  • main/trunk/greenstone3/ant-stop-with-exts.sh

    r37684 r37685  
    11#!/bin/bash
    22
     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
    35
     6store_pwd="$(pwd)"
     7full_progdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
     8cd "$full_progdir"
    49
    510if test "x$gsopt_noexts" != "x1" ; then
Note: See TracChangeset for help on using the changeset viewer.