mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
pkg: Die if make -V BRANCH fails
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
If build logic breaks such that we can't figure out which branch we're on, we should error out rather than shipping a default (and probably wrong) /etc/pkg/FreeBSD.conf Reviewed by: ivy MFC after: 5 minutes Suggested by: ivy Differential Revision: https://reviews.freebsd.org/D53487
This commit is contained in:
parent
b485322d6b
commit
0837b2ebd5
1 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
PACKAGE= pkg-bootstrap
|
||||
|
||||
.MAKEFLAGS: -W
|
||||
_BRANCH!= ${MAKE} -C ${SRCTOP}/release -V BRANCH
|
||||
BRANCH?= ${_BRANCH}
|
||||
.if ${BRANCH:MCURRENT} != ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue