summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-14 11:14:57 +0100
committerErich Eckner <git@eckner.net>2018-11-14 11:14:57 +0100
commit95c7041e7494d419e2a5852d30043da488a7b55a (patch)
tree1a011b19d8dea2db8fd8aefd77888582606c4418 /bin
parent3a9b907d8df4964a07a424f7b80e3fee589f63fd (diff)
downloadbuilder-95c7041e7494d419e2a5852d30043da488a7b55a.tar.xz
bin/build-packages: avoid SC2156
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index e1dfbb5..138d894 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -486,7 +486,7 @@ while [ "${count}" -ne 0 ] && \
>&2 printf ' ok.\n'
if [ "${build_command}" = 'makepkg' ]; then
find . -maxdepth 1 -type f -name '*.pkg.tar.xz' \
- -exec sh -c 'namcap "{}" > "{}-namcap.log"' \;
+ -exec sh -c 'namcap "$1" > "$1-namcap.log"' '_' '{}' \;
fi
tar_content_dir=$(mktemp -d "${tmp_dir}/tar-content.XXXXXX")
echo 'post-build' > "${tmp_dir}/.ping-build-master"