From 2f49de8c8e897fd164143ddfbc70e6332574380b Mon Sep 17 00:00:00 2001 From: Stefan Gaiselmann Date: Wed, 18 Jan 2023 11:42:13 +0100 Subject: [PATCH] Adjusted talisman script to use talisman executable (expected in PATH). --- dot_talisman/bin/executable_talisman_hook_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_talisman/bin/executable_talisman_hook_script b/dot_talisman/bin/executable_talisman_hook_script index 69c09aa..84d1cc8 100644 --- a/dot_talisman/bin/executable_talisman_hook_script +++ b/dot_talisman/bin/executable_talisman_hook_script @@ -86,7 +86,7 @@ if [ "${TALISMAN_INTERACTIVE}" == "true" ]; then [[ "${HOOKNAME}" == "pre-commit" ]] && exec < /dev/tty || echo_warning "talisman pre-push hook cannot be invoked in interactive mode currently" fi -CMD="/h//.talisman/bin/talisman_windows_amd64.exe ${DEBUG_OPTS} --githook ${HOOKNAME} ${INTERACTIVE}" +CMD="$(which talisman) ${DEBUG_OPTS} --githook ${HOOKNAME} ${INTERACTIVE}" echo_debug "ARGS are $@" echo_debug "Executing: ${CMD}" ${CMD}