| #!/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" |
| warn "$0: This script is deprecated and will be removed." |
| warn "All users must migrate to ${new_script} in chromite/bin." |
| warn "You can simply change all references of $0 to \`${new_script}\`" \ |
| "from \$PATH (in chromite/bin/)." |
| warn "This old script will be removed by July 2022." |
| warn "If you have questions or found code that needs updating, please" \ |
| "contact chromium-os-dev@, or file a bug at go/cros-build-bug." |
| exec "${CHROMITE_BIN}/${new_script}" "$@" |