diff options
author | Erich Eckner <git@eckner.net> | 2018-11-16 11:21:53 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-16 11:21:53 +0100 |
commit | 95547bc7cc1e6211ef36d42d16fea6958bea27ee (patch) | |
tree | bcab001bb344c2558d3491971c6221f5e178ce0b | |
parent | 825fa0d6638f2e1afddfbce447c4fdf51330e493 (diff) | |
download | builder-95547bc7cc1e6211ef36d42d16fea6958bea27ee.tar.xz |
bin/build-packages: add check for empty checksum
-rwxr-xr-x | bin/build-packages | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |