container: lib_finance: root: remove call via $ROOTSYS

- Ubuntu 'finance' image now has $ROOTSYS in $PATH
- Fixes breakage on Arch Linux 'finance' image
This commit is contained in:
2024-07-13 18:50:00 -07:00
parent a02b3b2917
commit dd4100acde

View File

@@ -207,11 +207,9 @@ function lib_finance::reports()
function lib_finance::root() function lib_finance::root()
{ {
[ -z "$ROOTSYS" ] && lib_utils::die_fatal
# NOTE: will automatically load rootlogon.C # NOTE: will automatically load rootlogon.C
pushd "${DOCKER_FINANCE_CONTAINER_REPO}/src/root/macro" 1>/dev/null \ pushd "${DOCKER_FINANCE_CONTAINER_REPO}/src/root/macro" 1>/dev/null \
&& "${ROOTSYS}"/bin/root -l && root -l
lib_utils::catch $? lib_utils::catch $?
} }