Wednesday, April 05, 2023

Enable portcheck to warn when COMMENT start with upper case

--- portcheck Wed Nov 23 17:51:47 2022
+++ /usr/local/bin/portcheck Wed Apr 5 09:20:35 2023
@@ -880,6 +880,11 @@
"COMMENT${subpkg%-}, please"
fi

+ if [[ $comment == [[:upper:]]* ]]; then
+ err "${portref}no leading with upper case in" \
+ "COMMENT${subpkg%-}, please"
+ fi
+
if $arch_independent && [[ -n $wantlib ]]; then
if [[ $subpkg != - || -n $wantlib_ss ]]; then
err "${portref}non-empty $wantlib_var for" \
Hi, ports@:

Here is a patch for portcheck, enable it warn when COMMENT start with
upper case.
Comments?


Cheers !
wen

No comments:

Post a Comment