blob: af07f3bc9d30e3823ae778508b367825b29b409f [file] [log] [blame]
#!/bin/bash
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
cat <<"EOF" 1>&2
You're trying to use `repo` inside the ChromiumOS SDK. That is deprecated, and
`repo` will eventually be removed from the SDK. Please consider running your
command outside the chroot. If you find bugs with `repo` outside the SDK (e.g.,
with pre-upload checks), please file a Build Infra bug (go/cros-build-bug /
https://issuetracker.google.com/issues/new?component=1037860).
For more info, see: https://issuetracker.google.com/270994985
EOF
exec /mnt/host/depot_tools/"$(basename "$0")" "$@"