update should exit on error

This commit is contained in:
Mitchell Hashimoto 2022-08-22 17:54:16 -07:00
parent 6eca2e65bd
commit 11f525c6a6
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC

1
update
View file

@ -1,5 +1,6 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#! nix-shell -p curl jq -i sh #! nix-shell -p curl jq -i sh
set -e
# Build our new sources.json # Build our new sources.json
curl -s 'https://ziglang.org/download/index.json' | jq ' curl -s 'https://ziglang.org/download/index.json' | jq '