diff --git a/bin/create_agent_keypair b/bin/create_agent_keypair index 5215ba3..5706dbf 100755 --- a/bin/create_agent_keypair +++ b/bin/create_agent_keypair @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## This script creates an "agent keypair". The private key is stored on an agent, and is used to ## encrypt/decrypt a per-repository symmetric key. diff --git a/hooks/environment.agent b/hooks/environment.agent index 51d3e10..13433af 100755 --- a/hooks/environment.agent +++ b/hooks/environment.agent @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eou pipefail diff --git a/hooks/post-checkout b/hooks/post-checkout index 0713efd..d8f1174 100755 --- a/hooks/post-checkout +++ b/hooks/post-checkout @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## post-checkout hook: This hook performs the actual decryption of secrets diff --git a/hooks/post-command b/hooks/post-command index f9014ad..65488f7 100755 --- a/hooks/post-command +++ b/hooks/post-command @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## post-command hook: This hook implements treehash verification and pipeline launching