blob: 8f815122cfde1780d824c79270891d802a143a86 [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"
Joey Armstrong6890fa92024-08-15 12:14:37 -040047source "${pgm_lib}/is_empty.sh"
Joey Armstrong9cbbf7f2024-08-14 17:05:18 -040048source "${pgm_lib}/resolved.sh"
49source "${pgm_lib}/help/utils.sh"
50
51# [EOF]