From d1bafb5b36fce9e5ae1ddee02a7ef9fb69c9598a Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Sat, 18 Jan 2025 15:29:29 +0100 Subject: [PATCH] GitHub CI: NetBSD version agnostic PKG_PATH definition This is the portable way to set the PKG_PATH env variable, to accommodate future NetBSD version bumps. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba733a3b0b3..42a3967e6c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -507,7 +507,7 @@ jobs: with: copyback: false prepare: | - export PKG_PATH=http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.1/All/ + export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/" pkg_add \ bison \ db5 \