Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parent3a9b907d8df4964a07a424f7b80e3fee589f63fd (diff)
bin/build-packages: avoid SC2156
-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"