Commit bfa05c83 authored by Pawel Hajdan, Jr's avatar Pawel Hajdan, Jr Committed by Commit Bot

update_depot_tools: make cipd_bin_setup failures fatal

This should make them more noticeable.

Bug: 762568
Change-Id: Ibd4ca4dc34d36aec5773d28454d134c909cc78dc
Reviewed-on: https://chromium-review.googlesource.com/653157Reviewed-by: 's avatarDaniel Jacques <dnj@chromium.org>
Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
parent 63b8c2a7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment