From 95547bc7cc1e6211ef36d42d16fea6958bea27ee Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 16 Nov 2018 11:21:53 +0100 Subject: bin/build-packages: add check for empty checksum --- bin/build-packages | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/build-packages b/bin/build-packages index 80e5d5a..3493950 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -564,6 +564,7 @@ while [ "${count}" -ne 0 ] && \ mkdir "${package_content_dir}/${pkgfile##*/}" tar -C "${package_content_dir}/${pkgfile##*/}" -xJf "${pkgfile}" 2>/dev/null # we rely on "${checksum}" not appearing in any objdump output + : ${checksum?umm, checksum is unset - this will break below sed-fu} find "${package_content_dir}/${pkgfile##*/}" \ -name 'opt' -prune , \ -type f \ -- cgit v1.2.3-70-g09d2