Skip to content

Commit

Permalink
bin/fetch-cache-version: Add comment
Browse files Browse the repository at this point in the history
Document why we are not using `set -euo pipefail`

Co-authored-by: John SJ Anderson <[email protected]>
  • Loading branch information
joverlee521 and genehack authored Jul 26, 2024
1 parent 5999035 commit 9f34d75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/fetch-cache-version
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# this script intentionally doesn't `set -euo pipefail`
# because otherwise the `head -n 2` step triggers SIGPIPE
# causing the script to exit before it is done.

s3_url="${1:?An S3 URL is required as the first argument}"


Expand Down

0 comments on commit 9f34d75

Please sign in to comment.