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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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"
Note: See TracChangeset for help on using the changeset viewer.