support/download: no longer support BR_CARGO_MANIFEST_PATH in cargo post-process

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Yann E. MORIN
2024-06-07 19:05:54 +02:00
committed by Arnout Vandecappelle
parent 720a1708cd
commit 19c76b190d

View File

@@ -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}";;