From e88bc393bbd8f397e28e9afdebdc2b81ac5de870 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 10 Oct 2021 21:23:39 +0200 Subject: [PATCH] Allow semicolon in PKGBUILD strings --- packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages.py b/packages.py index 74c32be..3afeab8 100644 --- a/packages.py +++ b/packages.py @@ -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