From 5220f663e45743cefbc94bb31e26509b88c92c8a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 12 May 2023 21:12:32 -0400 Subject: sbolint: check TMP PKG OUTPUT; sbopkglint: check empty man dirs. --- sbopkglint.d/05-basic-sanity.t.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbopkglint.d/05-basic-sanity.t.sh') diff --git a/sbopkglint.d/05-basic-sanity.t.sh b/sbopkglint.d/05-basic-sanity.t.sh index cfdf9cd..0600036 100644 --- a/sbopkglint.d/05-basic-sanity.t.sh +++ b/sbopkglint.d/05-basic-sanity.t.sh @@ -165,5 +165,5 @@ brokenlinks="$( find -L . -type l \! -lname '/*' )" # 20230320 bkw: empty directories. this isn't an error, just a note, and # we ignore any empty dirs under /var because lots of packages need these. -emptydirs="$( find . -type d -a -empty | grep -v 'var\>' )" +emptydirs="$( find . -type d -a -empty | grep -v '^\./var\>' )" [ -n "$emptydirs" ] && note "package contains empty dirs, are these necessary?" && ls -ld $emptydirs -- cgit v1.2.3