Enable "set -euo pipefail" in all bash scripts.

This enables "set -e", "set -u", and "set -o pipefail", which
catch common errors.
This commit is contained in:
Dan Gohman
2018-02-27 15:32:21 -08:00
parent 6a962e8b2c
commit d394ae0902
5 changed files with 6 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
#
set -euo pipefail
# Usage: check-rustfmt.sh [--install]
#
# Check that the desired version of rustfmt is installed.