From 993c3283a9e6a00fcb6b747d54f281caf6f4b681 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 9 Dec 2025 12:08:45 +0100 Subject: treewide: Give tempfiles descriptive names This makes it easier to see, where each tempfile comes from. --- 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 d046ee76..32fc6758 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)" +files_with_update="$(mktemp 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