blob: 773afba3f1266d986cb3c06e3188556189882720 [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}/is_empty.sh"
source "${pgm_lib}/resolved.sh"
source "${pgm_lib}/help/utils.sh"
source "${pgm_lib}/is_empty/include.sh"
source "${pgm_lib}/is_not/include.sh"
# [EOF]