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-17 20:23:07 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-17 20:23:07 +0100
commita52b3a04efda23d0e270226f07d1b9f05a4b2d76 (patch)
tree1008054a068799d0dd934ce652960c553941e40c /pkgs/update_pkgs.sh
parentmodules/disk: Don't use `space_cache` (diff)
downloadnixos-config-a52b3a04efda23d0e270226f07d1b9f05a4b2d76.zip
treewide: Use correct `mktemp` with template invocation prime
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 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