diff options
Diffstat (limited to 'scripts/spdxcheck.py')
-rwxr-xr-x | scripts/spdxcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py index 3fb020c2cb7f..4fe392e507fb 100755 --- a/scripts/spdxcheck.py +++ b/scripts/spdxcheck.py | |||
@@ -177,7 +177,7 @@ class id_parser(object): | |||
177 | continue | 177 | continue |
178 | expr = line.split(':')[1].strip() | 178 | expr = line.split(':')[1].strip() |
179 | # Remove trailing comment closure | 179 | # Remove trailing comment closure |
180 | if line.startswith('/*'): | 180 | if line.strip().endswith('*/'): |
181 | expr = expr.rstrip('*/').strip() | 181 | expr = expr.rstrip('*/').strip() |
182 | # Special case for SH magic boot code files | 182 | # Special case for SH magic boot code files |
183 | if line.startswith('LIST \"'): | 183 | if line.startswith('LIST \"'): |