summaryrefslogtreecommitdiffstats
path: root/src/ob-buildopk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ob-buildopk.sh')
-rw-r--r--src/ob-buildopk.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
index d7486fc..3370807 100644
--- a/src/ob-buildopk.sh
+++ b/src/ob-buildopk.sh
@@ -32,7 +32,12 @@ build_opk()
local touch_noderef=
local sort_r=
- binary_qual="$(ob_qualify_package_name "${binary}" "${OPK_HOST_ARCH}")"
+ if [ "x${arch}" = 'xsrc' ]; then
+ binary_qual="${binary}"
+ else
+ binary_qual="$(ob_qualify_package_name "${binary}" \
+ "${OPK_HOST_ARCH}")"
+ fi
ob_info "$(ob_get_msg 'build_opk')" \
"${binary_qual}_${version}_${arch}_${plat}.opk"