CRAFT_TARGET_ARCH is deprecated, use CRAFT_ARCH_BUILD_FOR

This commit is contained in:
Ken VanDine
2025-01-09 10:23:25 -05:00
committed by Mitchell Hashimoto
parent ec8e7d9d86
commit aa4d9809c3

View File

@ -42,7 +42,7 @@ parts:
- curl
override-pull: |
set -ex
case "$CRAFT_TARGET_ARCH" in
case "$CRAFT_ARCH_BUILD_FOR" in
amd64) arch=x86_64 ;;
arm64) arch=aarch64 ;;
*) arch="" ;;