From 4f23b8cd470d6600ccdbf0100dec6dec3c181d69 Mon Sep 17 00:00:00 2001 From: Jakob Naucke Date: Thu, 15 Jul 2021 12:42:33 +0200 Subject: [PATCH] ci: set -o nounset This avoids confusion e.g. when `$GOPATH` is unset. Fixes: #2251 Signed-off-by: Jakob Naucke --- ci/lib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/lib.sh b/ci/lib.sh index 1d9aa4b167..ad013e8cbe 100644 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -3,6 +3,8 @@ # # SPDX-License-Identifier: Apache-2.0 +set -o nounset + export tests_repo="${tests_repo:-github.com/kata-containers/tests}" export tests_repo_dir="$GOPATH/src/$tests_repo" export branch="${target_branch:-main}"