diff options
-rw-r--r-- | meta/classes/create-spdx.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass index ae484328fb..d735f20c20 100644 --- a/meta/classes/create-spdx.bbclass +++ b/meta/classes/create-spdx.bbclass | |||
@@ -210,7 +210,7 @@ def add_package_files(d, doc, spdx_pkg, topdir, get_spdxid, get_types, *, archiv | |||
210 | filepath = Path(subdir) / file | 210 | filepath = Path(subdir) / file |
211 | filename = str(filepath.relative_to(topdir)) | 211 | filename = str(filepath.relative_to(topdir)) |
212 | 212 | ||
213 | if filepath.is_file() and not filepath.is_symlink(): | 213 | if not filepath.is_symlink() and filepath.is_file(): |
214 | spdx_file = oe.spdx.SPDXFile() | 214 | spdx_file = oe.spdx.SPDXFile() |
215 | spdx_file.SPDXID = get_spdxid(file_counter) | 215 | spdx_file.SPDXID = get_spdxid(file_counter) |
216 | for t in get_types(filepath): | 216 | for t in get_types(filepath): |