Unverified Commit bdcf44c5 authored by Fernando Rodrigues's avatar Fernando Rodrigues
Browse files

xen: add more sanitation options to update script



We use a lot of pipes, so it's good to exit if any of the dependent
commands fail.

Signed-off-by: default avatarFernando Rodrigues <alpha@sigmasquadron.net>
parent 15256c05
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p gitMinimal curl gnupg nix-prefetch-git nixfmt-rfc-style
# shellcheck disable=SC2206,SC2207 shell=bash
set -e

set -o errexit
set -o pipefail
set -o nounset

# This script expects to be called in an interactive terminal somewhere inside Nixpkgs.
echo "Preparing..."