Remove PATH setting for chroot mode

This commit is contained in:
Filippo Squillace 2023-05-06 00:46:09 +02:00
parent 71397b942b
commit 874f52f0f8

View file

@ -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[@]}"
}
#######################################