CRAFT_TARGET_ARCH is deprecated, use CRAFT_ARCH_BUILD_FOR

pull/3931/head
Ken VanDine 2025-01-09 10:23:25 -05:00 committed by Mitchell Hashimoto
parent ae953b5f10
commit 8dffe3450c
1 changed files with 1 additions and 1 deletions

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="" ;;