mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
Set shell options for reliability.
Tweak a few other small things in our shell scripts.
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
|
||||
# This script installs std -race on Travis (see https://code.google.com/p/go/issues/detail?id=6479)
|
||||
|
||||
set -e
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
if [ "${TRAVIS}" == "true" ]; then
|
||||
GO_VERSION=($(go version))
|
||||
|
Reference in New Issue
Block a user