blob: 57405c9346041f8b86080cf8e5d1eb388895ba0e [file] [log] [blame]
#!/bin/bash
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
function init()
{
declare pgm=''
pgm="$(realpath --canonicalize-existing "$0")"
readonly pgm
declare -g pgmsrc
pgmsrc="$(readlink --canonicalize-existing "${BASH_SOURCE[0]}")"
readonly pgmsrc
# stack-trace-on-error
# interrupt handler
# mkdir with auto-cleanup at exit
declare pgm_root="${pgm%%/jira/jira-search/include.sh}"
declare root
root="${pgm%%/jira/bin/jira-search.sh}"
source "$root/lf/onf-common/common.sh" '--common-args-begin--'
pgm_lib="${root}/jira/jira-search"
readonly pgm_lib
pgm_bin="${root}/bin"
readonly pgm_bin
pgm_help="${root}/jira/jira-search/help"
readonly pgm_help
}
# init
# unset init
##--------------------##
##---] INCLUDES [---##
##--------------------##
source "${pgm_lib}/getopt/detect-modifiers.sh"
# source "${pgm_lib}/utils.sh"
#source "$pgmlib/fixversion.sh"
#source "$pgmlib/resolved.sh"
source "${pgm_lib}/fixversion.sh"
source "${pgm_lib}/resolved.sh"
source "${pgm_lib}/help/utils.sh"
# [EOF]