From 09b16b1ec52fa28ce861419b5b7415724779a8f0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 17 Jun 2023 14:18:59 -0400 Subject: sbopkglint: docs nitpick. --- sbopkglint.d/10-docs.t.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbopkglint.d/10-docs.t.sh b/sbopkglint.d/10-docs.t.sh index f99a42a..912af64 100644 --- a/sbopkglint.d/10-docs.t.sh +++ b/sbopkglint.d/10-docs.t.sh @@ -41,7 +41,7 @@ if [ -d "$DOCDIR" ]; then # embedded backslashes. doubt that will be a real problem. find $DOCDIR -type f -perm /111 -print | while read f; do head -1 "$f" | grep -q '^#!' && continue; # script file, +x is OK - ls -ld "$f" >> .bad.$$ + ls -bld "$f" >> .bad.$$ done [ -s .bad.$$ ] && warn "bad file perms (should be 644, or at least 444) in doc dir:" && cat .bad.$$ -- cgit v1.2.3