summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index ea9098e..df8faf1 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -675,6 +675,11 @@ while [ "${count}" -ne 0 ] && \
if [ "${build_command}" = 'makepkg' ]; then
find . -maxdepth 1 -type f -name '*.pkg.tar.zst' \
-exec sh -c 'namcap "$1" > "$1-namcap.log"' '_' '{}' \;
+ else
+ find . -maxdepth 1 -type f -name '*.pkg.tar-namcap.log' \
+ | while read -r file; do
+ mv "${file}" "${file%-namcap.log}.zst-namcap.log"
+ done
fi
tar_content_dir=$(mktemp -d "${tmp_dir}/tar-content.XXXXXX")
# remove unexpected packages