From d11148543f910f066dc2c9b22caf7d118bcc569a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 5 Oct 2024 13:53:28 +0200 Subject: fix(pkgs/stamp): Also ignore hidden files, when used in recursive mode --- pkgs/by-name/st/stamp/stamp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs') 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 -- cgit 1.4.1