Skip to content

fix(sync): resolve failure on fresh clone when data/ doesn't exist - #13

Merged
weklund merged 2 commits into
mainfrom
fix/sync-fresh-clone
Jul 2, 2026
Merged

weklund merged 2 commits into
mainfrom
fix/sync-fresh-clone

Conversation

@weklund

@weklund weklund commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • sync.sh failed on fresh clones because cd "$(dirname "$0")/../data" aborts under set -e when data/ doesn't exist (it's gitignored)
  • Resolves the path from the script's own directory instead, letting mkdir -p on the next line create it

Test plan

  • Clone the repo to a fresh directory and run bash scripts/sync.sh — should succeed without manual mkdir

🤖 Generated with Claude Code

weklund and others added 2 commits July 2, 2026 16:45
The previous `cd` into data/ failed with set -e before mkdir could create
it, since .gitignore excludes data/ from the repo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@weklund
weklund merged commit 420513c into main Jul 2, 2026
3 checks passed
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.

1 participant