diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-08-23 12:15:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-08-23 12:16:46 +0000 |
commit | d1349053a7cbc231d1eec15719858035f5118db7 (patch) | |
tree | 22b9a9a9b1b5dae49cc04887ce9a08ca049d9784 /Tools | |
parent | 5ff97cc655431aaba3095d4de2086b08496482a6 (diff) |
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/MOVEDlint.awk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/MOVEDlint.awk b/Tools/scripts/MOVEDlint.awk index ac85287a0a0d..f9d9ef35bb8d 100755 --- a/Tools/scripts/MOVEDlint.awk +++ b/Tools/scripts/MOVEDlint.awk @@ -115,7 +115,11 @@ $3 !~ /^20[0-3][0-9]-[01][0-9]-[0-3][0-9]$/ { # No else because the port is there but does not have the flavor, # so it should be ok. } else { - printf "%5d: %s must be marked as resurrected\n", NR, $1 | sort + if ($2 ~ $1 "@") { + printf "%5d: %s is a flavor of %s, the line should be removed\n", NR, $2, $1 | sort + } else { + printf "%5d: %s must be marked as resurrected\n", NR, $1 | sort + } } } |