Skip to content

Commit

Permalink
Use env to detect bash.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Oct 24, 2024
1 parent 78ec7a7 commit 9666728
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/create_agent_keypair
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion hooks/environment.agent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -eou pipefail

Expand Down
2 changes: 1 addition & 1 deletion hooks/post-checkout
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

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

Expand Down
2 changes: 1 addition & 1 deletion hooks/post-command
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

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

Expand Down

0 comments on commit 9666728

Please sign in to comment.