Skip to content

Commit

Permalink
Merge pull request #31 from maleadt/bash
Browse files Browse the repository at this point in the history
Use env to detect bash.
  • Loading branch information
staticfloat authored Oct 25, 2024
2 parents 78ec7a7 + 9666728 commit 5d046c7
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 5d046c7

Please sign in to comment.