summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcheck-licenses.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/check-licenses.py b/check-licenses.py
index 7ad87fd..0dd1e32 100755
--- a/check-licenses.py
+++ b/check-licenses.py
@@ -193,6 +193,7 @@ def main():
if srpm in blacklist or os.path.exists(dead):
specs.remove(spec)
continue
+ # the \ strip is needed for the mk_pkg define in baekmuk-ttf-fonts
licenses = [re.sub('License:\s*', '', l).strip('\n').strip('\\')
for l in open(spec).readlines() if l.startswith('License:')]
bad_licenses = []