From 0cd65ea194cb807be40e8c139cc6e177726f1fb5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 02:35:14 -0400 Subject: ob-genchanges: Fix undefined variable --- (limited to 'src') 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 -- cgit v0.9.1