about summary refs log tree commit diff stats
path: root/pkgs/update_pkgs.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 12:08:45 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 12:08:45 +0100
commit993c3283a9e6a00fcb6b747d54f281caf6f4b681 (patch)
tree01133013bdfc8bb582db736289ab79c322730179 /pkgs/update_pkgs.sh
parentpkgs/notify-run: Append the name of the spawned command before printing (diff)
downloadnixos-config-993c3283a9e6a00fcb6b747d54f281caf6f4b681.zip
treewide: Give tempfiles descriptive names
This makes it easier to see, where each tempfile comes from.
Diffstat (limited to 'pkgs/update_pkgs.sh')
-rwxr-xr-xpkgs/update_pkgs.sh2
1 files changed, 1 insertions, 1 deletions
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