Skip to content

Commit e69bf4e

Browse files
Copilotnetmindz
andcommitted
Fix compilation error by properly escaping quotes in WLED_REPO build flag
Co-authored-by: netmindz <[email protected]>
1 parent 684224c commit e69bf4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pio-scripts/set_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ def get_github_repo():
5151
return 'unknown'
5252

5353
repo = get_github_repo()
54-
env.Append(BUILD_FLAGS=[f'-DWLED_REPO="{repo}"'])
54+
env.Append(BUILD_FLAGS=[f'-DWLED_REPO=\\"{repo}\\"'])

0 commit comments

Comments
 (0)