From bfa05c838cf5e31bbc56e390d07d2da701f09ca4 Mon Sep 17 00:00:00 2001 From: "Pawel Hajdan, Jr" Date: Wed, 6 Sep 2017 16:06:45 +0000 Subject: [PATCH] update_depot_tools: make cipd_bin_setup failures fatal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should make them more noticeable. Bug: 762568 Change-Id: Ibd4ca4dc34d36aec5773d28454d134c909cc78dc Reviewed-on: https://chromium-review.googlesource.com/653157 Reviewed-by: Daniel Jacques Commit-Queue: Paweł Hajdan Jr. --- update_depot_tools | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update_depot_tools b/update_depot_tools index bc163f80d..0901e4a75 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -121,7 +121,10 @@ if [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then # Sync CIPD and CIPD client tools. source "$base_dir/cipd_bin_setup.sh" - cipd_bin_setup + cipd_bin_setup || { + echo "CIPD bootstrap failed" + exit 1 + } find "$base_dir" -iname "*.pyc" -exec rm -f {} \; fi