blob: 8936a45b756bc2b5aa956ff29e2abab359f030a2 [file] [log] [blame]
Joey Armstrong3134bfd2024-02-10 20:51:25 -05001#!/bin/bash
2
3## -----------------------------------------------------------------------
4## Intent: Parse command line paths
5## -----------------------------------------------------------------------
6function program_paths()
7{
8 declare -g pgm="$(readlink --canonicalize-existing "$0")"
9 declare -g pgmbin="${pgm%/*}"
10 declare -g pgmlib="${pgmbin}/jira-search"
11
12 readonly pgm
13 readonly pgmbin
14 readonly pgmlib
15 return
16}
17program_paths
18
19: # ($?=0) for source $include
20
21# [EOF]