blob: 57405c9346041f8b86080cf8e5d1eb388895ba0e [file] [log] [blame]
Joey Armstrong9cbbf7f2024-08-14 17:05:18 -04001#!/bin/bash
2## -----------------------------------------------------------------------
3## -----------------------------------------------------------------------
4
5## -----------------------------------------------------------------------
6## -----------------------------------------------------------------------
7function init()
8{
9 declare pgm=''
10 pgm="$(realpath --canonicalize-existing "$0")"
11 readonly pgm
12
13 declare -g pgmsrc
14 pgmsrc="$(readlink --canonicalize-existing "${BASH_SOURCE[0]}")"
15 readonly pgmsrc
16
17 # stack-trace-on-error
18 # interrupt handler
19 # mkdir with auto-cleanup at exit
20 declare pgm_root="${pgm%%/jira/jira-search/include.sh}"
21
22 declare root
23 root="${pgm%%/jira/bin/jira-search.sh}"
24 source "$root/lf/onf-common/common.sh" '--common-args-begin--'
25
26 pgm_lib="${root}/jira/jira-search"
27 readonly pgm_lib
28
29 pgm_bin="${root}/bin"
30 readonly pgm_bin
31
32 pgm_help="${root}/jira/jira-search/help"
33 readonly pgm_help
34}
35# init
36# unset init
37
38##--------------------##
39##---] INCLUDES [---##
40##--------------------##
41source "${pgm_lib}/getopt/detect-modifiers.sh"
42
43# source "${pgm_lib}/utils.sh"
44#source "$pgmlib/fixversion.sh"
45#source "$pgmlib/resolved.sh"
46source "${pgm_lib}/fixversion.sh"
47source "${pgm_lib}/resolved.sh"
48source "${pgm_lib}/help/utils.sh"
49
50# [EOF]