From b53ba6de29952b94c955e2804048a833fd8596eb Mon Sep 17 00:00:00 2001 From: Adriano Cunha <35786489+adrcunha@users.noreply.github.com> Date: Sun, 26 Aug 2018 08:42:03 -0700 Subject: [PATCH] Fail fast in update-deps.sh when sourcing library.sh (#357) --- hack/update-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/update-deps.sh b/hack/update-deps.sh index 20b5de1ff..987503fed 100644 --- a/hack/update-deps.sh +++ b/hack/update-deps.sh @@ -14,12 +14,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -source $(dirname $0)/../vendor/github.com/knative/test-infra/scripts/library.sh - set -o errexit set -o nounset set -o pipefail +source $(dirname $0)/../vendor/github.com/knative/test-infra/scripts/library.sh + cd ${REPO_ROOT_DIR} # Ensure we have everything we need under vendor/