From daa60b05e3cd4ebf75970ca19bb1a012339dfc8d Mon Sep 17 00:00:00 2001 From: Filippo Squillace Date: Mon, 29 May 2023 11:47:18 +0200 Subject: [PATCH] Fix PATH when running trap --- VERSION | 2 +- bin/junest | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index e91f104..bd8293a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.4.5 +7.4.6 diff --git a/bin/junest b/bin/junest index 7288e59..356482d 100755 --- a/bin/junest +++ b/bin/junest @@ -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[@]}" }