Skip to content

Fix pre_start.sh: use printf for newlines#109

Merged
max4c merged 1 commit intomainfrom
dj/containers-v1
Mar 10, 2026
Merged

Fix pre_start.sh: use printf for newlines#109
max4c merged 1 commit intomainfrom
dj/containers-v1

Conversation

@max4c
Copy link
Contributor

@max4c max4c commented Mar 10, 2026

Summary

  • echo doesn't interpret \n escapes, so /pre_start.sh was written as one literal line and never executed properly
  • Switch to printf which handles escape sequences correctly

Test plan

  • Build image, verify cat /pre_start.sh shows proper multi-line script
  • Launch pod with volume mount, verify /workspace/autoresearch/ is populated on boot

🤖 Generated with Claude Code

echo doesn't interpret \n escape sequences, so the script was written
as a single literal line. Switch to printf which handles escapes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@max4c max4c merged commit 03c0c6b into main Mar 10, 2026
6 checks passed
@max4c max4c deleted the dj/containers-v1 branch March 10, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants