diff options
-rw-r--r-- | src/opkbuild.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh index a54b74f..5892606 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -221,10 +221,12 @@ setup_arch_plat() OPK_HOST_PLAT="${OPK_BUILD_PLAT}" fi - IFS=- read OPK_BUILD_ARCH_CPU OPK_BUILD_ARCH_KERNEL OPK_BUILD_ARCH_LIBS <<EOF + IFS='-' read OPK_BUILD_ARCH_CPU OPK_BUILD_ARCH_KERNEL OPK_BUILD_ARCH_LIBS \ + <<EOF ${OPK_BUILD_ARCH} EOF - IFS=- read OPK_HOST_ARCH_CPU OPK_HOST_ARCH_KERNEL OPK_HOST_ARCH_LIBS <<EOF + IFS='-' read OPK_HOST_ARCH_CPU OPK_HOST_ARCH_KERNEL OPK_HOST_ARCH_LIBS \ + <<EOF ${OPK_HOST_ARCH} EOF |