Makefile: fix define BRANCH for ports

Ports have suffix _$(arch) appended to the branch name.
This commit is contained in:
Anton Midyukov 2022-11-26 00:55:38 +07:00
parent e7d0f03959
commit 7af1eee62d

View File

@ -3,7 +3,7 @@
# collect proceedings
ifndef BRANCH
BRANCH := $(shell rpm --eval %_priority_distbranch)
BRANCH := $(shell rpm --eval %_priority_distbranch | cut -d _ -f 1)
export BRANCH
endif