summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-05-11 15:02:13 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-05-11 15:02:13 -0400
commit0b19bf3366445a4145e2bab41f17ce9e2d890853 (patch)
treee4bc57a5954ec7785fdddac06251b9514f9291a6
parentf1a2700e70018349d5c63f2053ba4b0e7ebe351a (diff)
downloadb4-0b19bf3366445a4145e2bab41f17ce9e2d890853.tar.gz
Remove sendemail-validte hook
This has moved into patatt, so no need to duplicate functionality. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-xhooks/sendemail-validate-attestation-hook11
1 files changed, 0 insertions, 11 deletions
diff --git a/hooks/sendemail-validate-attestation-hook b/hooks/sendemail-validate-attestation-hook
deleted file mode 100755
index 2f740d7..0000000
--- a/hooks/sendemail-validate-attestation-hook
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-if which b4>/dev/null 2>&1; then
- # We have it in path, so just execute it
- b4 attest "${1}"
-else
- # Assume we're symlinked into a b4 checkout
- REAL_SCRIPT=$(realpath -e ${BASH_SOURCE[0]})
- SCRIPT_TOP="${SCRIPT_TOP:-$(dirname ${REAL_SCRIPT})}"
- B4_TOP=$(realpath -e ${SCRIPT_TOP}/..)
- exec env PYTHONPATH="${B4_TOP}" python3 "${B4_TOP}/b4/command.py" attest "${1}"
-fi