From 19c76b190dec4e569baee16efcda33183536370c Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Fri, 7 Jun 2024 19:05:54 +0200 Subject: [PATCH] support/download: no longer support BR_CARGO_MANIFEST_PATH in cargo post-process Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle --- support/download/cargo-post-process | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/support/download/cargo-post-process b/support/download/cargo-post-process index a9fbced466..12198051a4 100755 --- a/support/download/cargo-post-process +++ b/support/download/cargo-post-process @@ -5,7 +5,12 @@ set -e # shellcheck source=helpers source-path=SCRIPTDIR . "${0%/*}/helpers" -manifest="${BR_CARGO_MANIFEST_PATH-Cargo.toml}" +if [ "${BR_CARGO_MANIFEST_PATH}" ]; then + printf 'Setting BR_CARGO_MANIFEST_PATH is no longer supported; use post-process options.\n' >&2 + exit 1 +fi + +manifest=Cargo.toml while getopts "n:o:m:" OPT; do case "${OPT}" in o) output="${OPTARG}";;