diff options
Diffstat (limited to 'lib/architecture')
-rw-r--r-- | lib/architecture | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/architecture b/lib/architecture index b213b62..47102ba 100644 --- a/lib/architecture +++ b/lib/architecture @@ -57,13 +57,19 @@ oh_get_package_architecture() return 0 fi + # "any". + if [ "${_pkgarch}" = any ]; then + echo "${OH_ARCH}" + return 0 + fi + # Target platform. if [ -n "$(echo "${_pkgarch}" | grep -E '^[^-]+$')" ]; then echo "${_pkgarch}" return 0 fi - # "any" or target binary architecture. + # Target binary architecture. echo "${OH_ARCH}" return 0 } |