summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/create-spdx.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index 383ca10bab..47dd12c383 100644
--- a/meta/classes/create-spdx.bbclass
+++ b/meta/classes/create-spdx.bbclass
@@ -218,7 +218,7 @@ def add_package_files(d, doc, spdx_pkg, topdir, get_spdxid, get_types, *, archiv
218 filepath = Path(subdir) / file 218 filepath = Path(subdir) / file
219 filename = str(filepath.relative_to(topdir)) 219 filename = str(filepath.relative_to(topdir))
220 220
221 if filepath.is_file() and not filepath.is_symlink(): 221 if not filepath.is_symlink() and filepath.is_file():
222 spdx_file = oe.spdx.SPDXFile() 222 spdx_file = oe.spdx.SPDXFile()
223 spdx_file.SPDXID = get_spdxid(file_counter) 223 spdx_file.SPDXID = get_spdxid(file_counter)
224 for t in get_types(filepath): 224 for t in get_types(filepath):