Skip to content

Commit 5d046c7

Browse files
authored
Merge pull request #31 from maleadt/bash
Use env to detect bash.
2 parents 78ec7a7 + 9666728 commit 5d046c7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bin/create_agent_keypair

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

33
## This script creates an "agent keypair". The private key is stored on an agent, and is used to
44
## encrypt/decrypt a per-repository symmetric key.

hooks/environment.agent

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

33
set -eou pipefail
44

hooks/post-checkout

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

33
## post-checkout hook: This hook performs the actual decryption of secrets
44

hooks/post-command

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

33
## post-command hook: This hook implements treehash verification and pipeline launching
44

0 commit comments

Comments
 (0)