diff options
Diffstat (limited to 'src/ob-buildopk.sh')
-rw-r--r-- | src/ob-buildopk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh index 670740f..cfe7585 100644 --- a/src/ob-buildopk.sh +++ b/src/ob-buildopk.sh @@ -54,9 +54,9 @@ main() else for pkg in ${OPK_PACKAGES_REDUCED}; do arch="$(ob_get_binary_parameter "${pkg}" 'Architecture')" - [ "${arch}" != 'all' ] && arch="${OPK_HOST_ARCH}" + [ x"${arch}" != x'all' ] && arch="${OPK_HOST_ARCH}" plat="$(ob_get_binary_parameter "${pkg}" 'Platform')" - [ "${plat}" != 'all' ] && plat="${OPK_HOST_PLAT}" + [ x"${plat}" != x'all' ] && plat="${OPK_HOST_PLAT}" build_opk "${pkg}" "${OPK_BINARY_VERSION}" "${arch}" "${plat}" done fi |