diff --git a/ensure_bootstrap b/ensure_bootstrap index 22d9570fc..3e8da6d60 100755 --- a/ensure_bootstrap +++ b/ensure_bootstrap @@ -4,16 +4,35 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -# This is a shell script to ensure that all of the "depot_tools" bootstrap -# programs are locally downloaded and ready for execution. -# -# Unlike "update_depot_tools", this script works with the current -# checkout, and will not update/sync the "depot_tools" repository. -# # TODO: This duplicates logic in "update_depot_tools". Update that script to # invoke this script instead of manually calling "cipd_bin_setup" and other # operations. +usage() { + cat <&2 + exit 1 + ;; + esac +fi + # Export for other depot_tools scripts to re-use. export DEPOT_TOOLS_DIR="${DEPOT_TOOLS_DIR:-$(dirname "${BASH_SOURCE[0]}")}"