Skip to content

Commit 9f34d75

Browse files
bin/fetch-cache-version: Add comment
Document why we are not using `set -euo pipefail` Co-authored-by: John SJ Anderson <janders4@fredhutch.org>
1 parent 5999035 commit 9f34d75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/fetch-cache-version

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22

3+
# this script intentionally doesn't `set -euo pipefail`
4+
# because otherwise the `head -n 2` step triggers SIGPIPE
5+
# causing the script to exit before it is done.
6+
37
s3_url="${1:?An S3 URL is required as the first argument}"
48

59

0 commit comments

Comments
 (0)