Skip to content
Commit 878ee149 authored by Steve Winslow's avatar Steve Winslow Committed by Christopher Friedt
Browse files

west: spdx: Fix --init for Windows builds



Currently, west spdx --init uses os.mknod to create an empty file
to enable the Cmake file-based API system. As reported in #39311,
Python on Windows does not implement os.mknod.

This commit switches to using open()/close() instead of os.mknod()
to address this issue.

Signed-off-by: default avatarSteve Winslow <steve@swinslow.net>
parent 89e701db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment