Skip to content

Correct script dir#27

Merged
will-v-pi merged 2 commits into
mainfrom
correct-script-dir
May 15, 2026
Merged

Correct script dir#27
will-v-pi merged 2 commits into
mainfrom
correct-script-dir

Conversation

@will-v-pi

Copy link
Copy Markdown
Contributor

This overrides OpenOCD paths to ensure bin2data ends up empty, so it searches the script dir next to the executable

Fixes #22

will-v-pi added 2 commits May 11, 2026 13:45
Override bindir and datadir, so that pkgdatadir ends up the same as bindir
Comment on lines +22 to +23
cd "$BUILDDIR/$INSTALLDIR/$BINDIR"
find . -maxdepth 1 ! -name . ! -name .. ! -name openocd ! -name scripts -exec rm -r {} +

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at this change and comparing it to the Mac and Windows scripts, should these lines be above the "# Add libraries..." comment line?

@will-v-pi
will-v-pi merged commit 2fd0b9a into main May 15, 2026
32 checks passed
@will-v-pi
will-v-pi deleted the correct-script-dir branch May 15, 2026 09:05
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.

OpenOCD on Windows can't find its script dir

2 participants