diff options
Diffstat (limited to 'pkgtools/pkglint/files/toplevel.go')
-rw-r--r-- | pkgtools/pkglint/files/toplevel.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgtools/pkglint/files/toplevel.go b/pkgtools/pkglint/files/toplevel.go index dd481c7ac53..de34c1c76a3 100644 --- a/pkgtools/pkglint/files/toplevel.go +++ b/pkgtools/pkglint/files/toplevel.go @@ -18,9 +18,6 @@ func checkdirToplevel() { } ParselinesMk(lines) - if 0 < len(lines) { - checklineRcsid(lines[0], `#\s+`, "# ") - } for _, line := range lines { if m, commentedOut, indentation, subdir, comment := match4(line.text, `^(#?)SUBDIR\s*\+=(\s*)(\S+)\s*(?:#\s*(.*?)\s*|)$`); m { @@ -40,7 +37,7 @@ func checkdirToplevel() { func (ctx *Toplevel) checkSubdir(line *Line, commentedOut bool, indentation, subdir, comment string) { if commentedOut && comment == "" { - line.warnf("%s commented out without giving a reason.", subdir) + line.warnf("%q commented out without giving a reason.", subdir) } if indentation != "\t" { |