From a52b3a04efda23d0e270226f07d1b9f05a4b2d76 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 17 Dec 2025 20:23:07 +0100 Subject: treewide: Use correct `mktemp` with template invocation --- pkgs/update_pkgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/update_pkgs.sh') diff --git a/pkgs/update_pkgs.sh b/pkgs/update_pkgs.sh index 32fc6758..d036142e 100755 --- a/pkgs/update_pkgs.sh +++ b/pkgs/update_pkgs.sh @@ -19,7 +19,7 @@ cd "$(dirname "$0")" || die "Bug: run with the wrong first arg: '$0'!" cd ./by-name || die "(BUG): The directory './by-name' does not exist?" # First check if all the update scripts conform to the standard -files_with_update="$(mktemp update_pkgs_XXXXX)" +files_with_update="$(mktemp -t update_pkgs_XXXXX)" trap 'rm "$files_with_update"' EXIT fd '^update.sh$' . --type file --extension sh --max-depth 3 | while read -r file; do -- cgit 1.4.1