File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scripts/west_commands/zspdx Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,19 +113,19 @@ def makeSPDX(cfg):
113
113
return False
114
114
115
115
# write zephyr document
116
- writeSPDX (os .path .join (cfg .spdxDir , "zephyr.spdx" ), w .docZephyr )
116
+ retval = writeSPDX (os .path .join (cfg .spdxDir , "zephyr.spdx" ), w .docZephyr )
117
117
if not retval :
118
118
log .err ("SPDX writer failed for zephyr document; bailing" )
119
119
return False
120
120
121
121
# write build document
122
- writeSPDX (os .path .join (cfg .spdxDir , "build.spdx" ), w .docBuild )
122
+ retval = writeSPDX (os .path .join (cfg .spdxDir , "build.spdx" ), w .docBuild )
123
123
if not retval :
124
124
log .err ("SPDX writer failed for build document; bailing" )
125
125
return False
126
126
127
127
# write modules document
128
- writeSPDX (os .path .join (cfg .spdxDir , "modules-deps.spdx" ), w .docModulesExtRefs )
128
+ retval = writeSPDX (os .path .join (cfg .spdxDir , "modules-deps.spdx" ), w .docModulesExtRefs )
129
129
if not retval :
130
130
log .err ("SPDX writer failed for modules-deps document; bailing" )
131
131
return False
You can’t perform that action at this time.
0 commit comments