From 3acae37b099e12fcf3db9fdfbacfe941bd3f90d7 Mon Sep 17 00:00:00 2001 From: g_here Date: Tue, 19 Mar 2024 02:44:49 -0500 Subject: [PATCH] squashed commit: ee60a101b remove check for a `-` before/after the maintainer name. Now only checks for a : or whitespace before, and whitespace or line ending after ff075a741 squashed commit: previous squashed commit: 7d0fcc341 expand checks from previous commit f7799a45b check for a space in front of the maintainer name in fmt-my-stuff ### DN42 Signature ### method: ssh-git ### mntner: G-MNT --- fmt-my-stuff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmt-my-stuff b/fmt-my-stuff index e609c908f..a7b44ac1b 100755 --- a/fmt-my-stuff +++ b/fmt-my-stuff @@ -9,4 +9,4 @@ fi BASE="$(readlink -f "$0" 2>/dev/null || python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")" BASE="$(dirname "$BASE")" -grep -lr $1 "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done +grep -lrE "(\s|:)$1(\s|\$)" "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done