forked from EvergreenCrypto/docker-finance
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:
@@ -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 $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user