From 874f52f0f8b61f47c7a7e10cbbeebb382f4f9b3b Mon Sep 17 00:00:00 2001 From: Filippo Squillace Date: Sat, 6 May 2023 00:46:09 +0200 Subject: [PATCH] Remove PATH setting for chroot mode --- lib/core/chroot.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/core/chroot.sh b/lib/core/chroot.sh index c7f8abc..c2237a9 100644 --- a/lib/core/chroot.sh +++ b/lib/core/chroot.sh @@ -33,9 +33,8 @@ function _run_env_as_xroot(){ copy_common_files fi - # Resets PATH to avoid polluting with host related bin paths # shellcheck disable=SC2086 - PATH='' JUNEST_ENV=1 $cmd $backend_args "$JUNEST_HOME" "${DEFAULT_SH[@]}" "${args[@]}" + JUNEST_ENV=1 $cmd $backend_args "$JUNEST_HOME" "${DEFAULT_SH[@]}" "${args[@]}" } #######################################