From 11f525c6a6c7846495e9fe5764b588276416f83e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 22 Aug 2022 17:54:16 -0700 Subject: [PATCH] update should exit on error --- update | 1 + 1 file changed, 1 insertion(+) diff --git a/update b/update index c272bb8..1cd89eb 100755 --- a/update +++ b/update @@ -1,5 +1,6 @@ #!/usr/bin/env nix-shell #! nix-shell -p curl jq -i sh +set -e # Build our new sources.json curl -s 'https://ziglang.org/download/index.json' | jq '