Allow semicolon in PKGBUILD strings

This commit is contained in:
jld3103 2021-10-10 21:23:39 +02:00
parent 9aa17d1fc7
commit e88bc393bb

View file

@ -681,9 +681,9 @@ def cmd_check(paths):
formatted = False
reason = 'Multiline variables should be indented with 4 spaces'
if '"' in line and '$' not in line and ' ' not in line:
if '"' in line and '$' not in line and ' ' not in line and ';' not in line:
formatted = False
reason = 'Found literal " although no "$" or " " was found in the line justifying the usage of a literal "'
reason = 'Found literal " although no "$", " " or ";" was found in the line justifying the usage of a literal "'
if '\'' in line:
formatted = False