| #!/bin/bash |
| |
| # Copyright 2022 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| . "$(dirname "$0")/common.sh" || exit 1 |
| |
| # Script must run inside the chroot |
| restart_in_chroot_if_needed "$@" |
| |
| new_script="build_packages" |
| cat <<EOF |
| $0: This script is deprecated and will be removed. |
| All users must migrate to ${new_script} in chromite/bin. |
| You can simply change all references of $0 to \`${new_script}\` |
| from \$PATH (in chromite/bin/). |
| This old script will be removed by July 2022. |
| If you have questions or found code that needs updating, please contact |
| chromium-os-dev@, or file a bug at go/cros-build-bug. |
| EOF |
| exec "${CHROMITE_BIN}/${new_script}" "$@" |
| |