summaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/lint.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 5432069858..7f5915ba2e 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -88,7 +88,8 @@
'description)))
(define (check-proper-start description)
- (unless (properly-starts-sentence? description)
+ (unless (or (properly-starts-sentence? description)
+ (string-prefix-ci? (package-name package) description))
(emit-warning package
"description should start with an upper-case letter or digit"
'description)))