From 6dd3cb9a54c5399aeb918dc5f41cae5bf77d6dbe Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 26 Nov 2024 05:21:11 -0700 Subject: [PATCH] Add -o pipefail --- cloudflare-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare-build.sh b/cloudflare-build.sh index 5f360bc..7e3a7e7 100644 --- a/cloudflare-build.sh +++ b/cloudflare-build.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eu +set -euo pipefail curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget