about summary refs log tree commit diff stats
path: root/pkgs/update_pkgs.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpkgs/update_pkgs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/update_pkgs.sh b/pkgs/update_pkgs.sh
index 0a8c4cfc..3e33b720 100755
--- a/pkgs/update_pkgs.sh
+++ b/pkgs/update_pkgs.sh
@@ -9,14 +9,14 @@ 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)"
 trap 'rm "$files_with_update"' EXIT
 
 fd '^update.sh$' . --type file --extension sh --max-depth 3 | while read -r file; do
-    grep -q "nix flake update" "$file" && echo "$file" >> "$files_with_update"
+    grep -q "nix flake update" "$file" && echo "$file" >>"$files_with_update"
 done
 
-if [ "$(wc -l < "$files_with_update")" != 0 ]; then
+if [ "$(wc -l <"$files_with_update")" != 0 ]; then
     die "Some packages seem to try to update their flake with 'nix flake update'. This is redundant. These Packages are: $(echo && cat "$files_with_update")"
 fi