aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/update_pkgs.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpkgs/update_pkgs.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/update_pkgs.sh b/pkgs/update_pkgs.sh
index d046ee76..17f97a35 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 -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
@@ -40,8 +40,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 "$@"