mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 13:45:45 -05:00
Allow semicolon in PKGBUILD strings
This commit is contained in:
parent
9aa17d1fc7
commit
e88bc393bb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue