Adjusted talisman script to use talisman executable (expected in PATH).
This commit is contained in:
parent
d5c3e38675
commit
2f49de8c8e
@ -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"
|
[[ "${HOOKNAME}" == "pre-commit" ]] && exec < /dev/tty || echo_warning "talisman pre-push hook cannot be invoked in interactive mode currently"
|
||||||
fi
|
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 "ARGS are $@"
|
||||||
echo_debug "Executing: ${CMD}"
|
echo_debug "Executing: ${CMD}"
|
||||||
${CMD}
|
${CMD}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user