Joey Armstrong | 3134bfd | 2024-02-10 20:51:25 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | ## ----------------------------------------------------------------------- |
| 4 | ## Intent: Parse command line paths |
| 5 | ## ----------------------------------------------------------------------- |
| 6 | function 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 | } |
| 17 | program_paths |
| 18 | |
| 19 | : # ($?=0) for source $include |
| 20 | |
| 21 | # [EOF] |