xbps-src: potentially allow ppcle masterdirs on ppc64le hosts

This commit is contained in:
q66 2020-04-30 00:40:07 +02:00
parent eac9f193fe
commit 84231f88f8

View file

@ -556,7 +556,7 @@ linux32_check() {
local tgtarch="$2" local tgtarch="$2"
case "$hostarch" in case "$hostarch" in
x86_64*) if [[ "$tgtarch" == i686* ]]; then return 0; fi ;; x86_64*) if [[ "$tgtarch" == i686* ]]; then return 0; fi ;;
ppc64le*) return 1 ;; ppc64le*) if [[ "$tgtarch" == ppcle* ]]; then return 0; fi ;;
ppc64*) ppc64*)
case "$tgtarch" in case "$tgtarch" in
ppc64*) return 1 ;; ppc64*) return 1 ;;