From 15006d21f8407c22118a8dd7da6d9b383c37bed6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 9 Nov 2018 19:57:34 +0100 Subject: bin/build-packages: create namcap.log manually when running makepkg instead of archbuild --- bin/build-packages | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/build-packages b/bin/build-packages index 7bc3976..0012020 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -475,6 +475,10 @@ while [ "${count}" -ne 0 ] && \ ).build-log" 2>&1; then # build successful >&2 printf ' ok.\n' + if [ "${build_command}" = 'makepkg' ]; then + find . -maxdepth 1 -type f -name '*.pkg.tar.xz' \ + -exec sh -c 'namcap "{}" > "{}-namcap.log"' \; + fi tar_content_dir=$(mktemp -d "${tmp_dir}/tar-content.XXXXXX") echo 'post-build' > "${tmp_dir}/.ping-build-master" # remove unexpected packages -- cgit v1.2.3-70-g09d2