From b4e97035afafe0046cdc103e1a56a1bf66002394 Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Mon, 5 Aug 2024 17:03:46 +0000 Subject: [PATCH] redirect stdout and stderr of cipd_bin_setup to /dev/null Otherwise, the cipd_bin_setup would print the root of cipd directory everytime. Bug: 357131092 Change-Id: I376a1eb9e06db6fce8e7a21ab08a4af40dde3ccd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5762367 Auto-Submit: Yiwei Zhang Reviewed-by: Josip Sokcevic Commit-Queue: Yiwei Zhang Commit-Queue: Josip Sokcevic --- ensure_bootstrap | 2 +- update_depot_tools | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ensure_bootstrap b/ensure_bootstrap index 4e44b41b85..22d9570fc0 100755 --- a/ensure_bootstrap +++ b/ensure_bootstrap @@ -34,7 +34,7 @@ fi # Sync CIPD-boostrapped packages. source "$base_dir/cipd_bin_setup.sh" -cipd_bin_setup +cipd_bin_setup &> /dev/null # Sync "gsutil.py". python3 "$base_dir/gsutil.py" -- version 1> /dev/null & diff --git a/update_depot_tools b/update_depot_tools index 06c68f0e6f..8ce17216b1 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -135,7 +135,7 @@ if [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then # Sync CIPD-boostrapped packages. source "$base_dir/cipd_bin_setup.sh" - cipd_bin_setup + cipd_bin_setup &> /dev/null # Don't bootstrap Python 3 on windows, since it is already done by # bootstrap/win_tools.bat.