summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/architecture4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/architecture b/lib/architecture
index 47102ba..4af24ef 100644
--- a/lib/architecture
+++ b/lib/architecture
@@ -32,7 +32,9 @@ oh_is_buildable()
# XXX: Handle platforms.
# Tokenize the 4-tuple binary architecture.
- echo "${_pkgarch}" | IFS=- read _pkgcpu _pkgvendor _pkgkernel _pkglibs
+ IFS=- read _pkgcpu _pkgvendor _pkgkernel _pkglibs <<EOF
+${_pkgarch}
+EOF
# Test each element of the tuple.
[ "${_pkgcpu}" != any -a "${_pkgcpu}" != "${OH_ARCH_CPU}" ] &&