shlib.sh: provide var_getconfpath variable
commit99e4b3cb2c8d81e4a36977fc3656d1e4d30b9dd9
authorKyle J. McKay <mackyle@gmail.com>
Wed, 7 Jul 2021 05:12:30 +0000 (6 22:12 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 7 Jul 2021 05:12:30 +0000 (6 22:12 -0700)
tree711c152e73ee8ab206776322dcf3ec106c8cc633
parent8f1cbae4b408ced3399912e471182240c80026d9
shlib.sh: provide var_getconfpath variable

Stuff the output of the Girocco::Dumper::GetConfPath function into
the `var_getconfpath` variable for use by shell scripts and so
forth.

It's slightly more reliable than `getconf PATH` as it "sanitizes"
the result of `getconf PATH` to exclude any "." components and that
makes it helpful to have available for scripts.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
shlib.sh