Skip to content

Commit 9fc699d

Browse files
tilakpatel22claude
andcommitted
fix: replace heredoc with printf in qt.conf generation to fix YAML syntax error
Heredoc closing delimiter at column 0 inside a YAML run: block causes a parse error. Replaced with a single printf call that produces identical output without any indentation constraints. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent addc0f9 commit 9fc699d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/build-cpp.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,7 @@ jobs:
454454
# Without this, Qt falls back to hardcoded build-time paths which
455455
# don't exist on a clean machine and can cause plugin load failures.
456456
# ----------------------------------------------------------------
457-
cat > dist/qt.conf <<'QTCONF'
458-
[Paths]
459-
Prefix = .
460-
Plugins = .
461-
Libraries = .
462-
QTCONF
457+
printf '[Paths]\nPrefix = .\nPlugins = .\nLibraries = .\n' > dist/qt.conf
463458
464459
# ----------------------------------------------------------------
465460
# Copy app resources and Python analytics scripts

0 commit comments

Comments
 (0)