fix --printsrcinfo unify arch and non-arch specific variables
This fixes the issue with --printsrcinfo that all arch specific variants
of a variable get merged into their non arch specific variant.
The .SRCINFO file ends up having $depends containing $depends_x86_64
and omitting the latter.
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 3190b87b65
)
This commit is contained in:
parent
c889403cf7
commit
5de2ad13fd
1 changed files with 1 additions and 1 deletions
|
@ -2029,7 +2029,7 @@ pkgbase=${pkgbase:-${pkgname[0]}}
|
||||||
# check the PKGBUILD for some basic requirements
|
# check the PKGBUILD for some basic requirements
|
||||||
lint_pkgbuild || exit 1
|
lint_pkgbuild || exit 1
|
||||||
|
|
||||||
if (( !SOURCEONLY )); then
|
if (( !SOURCEONLY && !PRINTSRCINFO )); then
|
||||||
merge_arch_attrs
|
merge_arch_attrs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue