summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 19:57:34 +0100
committerErich Eckner <git@eckner.net>2018-11-09 19:57:34 +0100
commit15006d21f8407c22118a8dd7da6d9b383c37bed6 (patch)
treed9d1a850ed7d6ac24039de11a06148f0d6464316
parentc08038dfd2c1f6893ad04a47dc4d98ec1bf6b834 (diff)
downloadbuilder-15006d21f8407c22118a8dd7da6d9b383c37bed6.tar.xz
bin/build-packages: create namcap.log manually when running makepkg instead of archbuild
-rwxr-xr-xbin/build-packages4
1 files changed, 4 insertions, 0 deletions
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