From 7d1f4ce19d470f0e659f503165beaa0cd133ed9f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 20 Feb 2020 08:48:56 +0100 Subject: bin/build-packages: rename namcap log --- bin/build-packages | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-70-g09d2