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 <yiwzhang@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
changes/67/5762367/2
Yiwei Zhang 9 months ago committed by LUCI CQ
parent 40cece20d0
commit b4e97035af

@ -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 &

@ -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.

Loading…
Cancel
Save