summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ob-genchanges.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh
index 38603d3..f972002 100644
--- a/src/ob-genchanges.sh
+++ b/src/ob-genchanges.sh
@@ -84,7 +84,7 @@ write_files_bin()
[ x"${arch}" != x'all' ] && arch="${OPK_HOST_ARCH}"
plat="$(ob_get_binary_parameter "${pkg}" 'Platform')"
[ x"${plat}" != x'all' ] && plat="${OPK_HOST_PLAT}"
- file="${pkg}_${version}_${arch}_${plat}.opk"
+ file="${pkg}_${OPK_BINARY_VERSION}_${arch}_${plat}.opk"
printf ' %s %s %s\n' \
"$(wc -c "../../${file}" | cut -d ' ' -f 1)" \
'base' "${file}" >&3