Fix PATH when running trap

This commit is contained in:
Filippo Squillace 2023-05-29 11:47:18 +02:00
parent 507502dc1a
commit daa60b05e3
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
7.4.5
7.4.6

View file

@ -305,7 +305,7 @@ function execute_operation() {
fi
# Call create_wrappers in case new bin files have been created
trap "create_wrappers" EXIT QUIT TERM
trap "PATH=$PATH create_wrappers" EXIT QUIT TERM
$run_env "$BACKEND_COMMAND" "${BACKEND_ARGS}" $OPT_NO_COPY_FILES "${ARGS[@]}"
}