about summary refs log tree commit diff stats
path: root/pkgs/by-name/st/stamp
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-05 13:53:28 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-05 13:53:28 +0200
commitd11148543f910f066dc2c9b22caf7d118bcc569a (patch)
tree15369190f9c0b2b804aefca9bba2847acfa0d72e /pkgs/by-name/st/stamp
parentfix(pkgs/lf-make-map): Ensure stable sorting of the `lf` mappings (diff)
downloadnixos-config-d11148543f910f066dc2c9b22caf7d118bcc569a.tar.gz
nixos-config-d11148543f910f066dc2c9b22caf7d118bcc569a.zip
fix(pkgs/stamp): Also ignore hidden files, when used in recursive mode
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/st/stamp/stamp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/st/stamp/stamp.sh b/pkgs/by-name/st/stamp/stamp.sh
index ca365194..663f404e 100755
--- a/pkgs/by-name/st/stamp/stamp.sh
+++ b/pkgs/by-name/st/stamp/stamp.sh
@@ -26,7 +26,7 @@ ARGUMENTS:
     FILES_OR_DIRECTORIES := [[ fd . --max-depth 3 ]]
                             Possible files to stamp.
 
-    L                 := GPL-3.0-or-later|CC-BY-SA-4.0|AGPL-3.0-or-later
+    L                    := GPL-3.0-or-later|CC-BY-SA-4.0|AGPL-3.0-or-later
                             A possible license identifier. These above are only suggestions.
 EOF
 }
@@ -81,7 +81,7 @@ done
 
 for file in "$@"; do
     if [ -d "$file" ]; then
-        fd . "$file" --type file | while read -r path_file; do
+        fd . "$file" --type file --hidden | while read -r path_file; do
             reuse_run "$path_file"
         done
     else