From 9f01f00f9a7fba58898cb9bd956365b539729a6c Mon Sep 17 00:00:00 2001 From: Marc Guasch Date: Fri, 27 Dec 2024 05:05:59 -0800 Subject: [PATCH] Add hook path --- .buildkite/hooks/pre-command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index b3a0c032fd7..5c28afacf44 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -4,7 +4,7 @@ set -euo pipefail # needed in some systems where retry is not available if ! declare -f retry > /dev/null; then - source ../scripts/retry.sh + source "${BUILDKITE_HOOK_PATH}/../scripts/retry.sh" fi # Secrets must be redacted