From e3c893c7df92e026309492dd1e646b7a77979656 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Fri, 30 Oct 2026 15:15:54 +0100 Subject: treewide: Various fixes --- pkgs/update_pkgs.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkgs/update_pkgs.sh') diff --git a/pkgs/update_pkgs.sh b/pkgs/update_pkgs.sh index 3e33b72..d447889 100755 --- a/pkgs/update_pkgs.sh +++ b/pkgs/update_pkgs.sh @@ -9,7 +9,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 -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 @@ -30,8 +30,6 @@ fd . --type directory --max-depth 1 | while read -r shard; do if [ -x update.sh ]; then printf " \033[34;1m> \033[0m\033[34;1m%s\033[0m\n" "Running '${shard}${package}update.sh' .." - [ -f flake.nix ] && nix flake update - direnv allow eval "$(direnv export bash 2>/dev/null)" ./update.sh "$@" -- cgit v1.3.1