Skip to content

Commit b4e57a1

Browse files
committed
Getting the build be MacOS friendly again
1 parent 940eb29 commit b4e57a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interceptor/test/e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function test_interceptor {
3333
export PD_SIGNATURE=$override_signature
3434
fi
3535

36-
SIGN=$(echo -n "$PAYLOAD_BODY_FORMATTED" | sha256hmac -K $PD_SIGNATURE | tr -d "[:space:]-")
36+
SIGN=$(echo -n "$PAYLOAD_BODY_FORMATTED" | openssl dgst -sha256 -hmac $PD_SIGNATURE | sed 's/^.* //')
3737

3838
# Store the PID of the interceptor process
3939
INTERCEPTOR_PID=$!

test/generate_incident.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -e
33

44
# Define the mapping of alert names to titles

0 commit comments

Comments
 (0)