Skip to content

fix(scripts): Allow using from parent directories#107

Merged
leonchen83 merged 4 commits into
leonchen83:masterfrom
madsnedergaard:mn/improve-base-dir-resolving
Nov 25, 2025
Merged

fix(scripts): Allow using from parent directories#107
leonchen83 merged 4 commits into
leonchen83:masterfrom
madsnedergaard:mn/improve-base-dir-resolving

Conversation

@madsnedergaard
Copy link
Copy Markdown
Contributor

Issue

Currently, users have to cd multiple levels in to call a command or make changes to their $PATH.

Description

This will allow invoking the commands from outside of the bin folder. In short, it changes from relative paths to resolving the actual directory of the script and working out how to call it instead.

Note

I am unable to test this on Windows as I only have a Macbook, but I have tested on MacOS and with Docker

Preview

Screenshot 2025-11-24 at 08 26 10

@leonchen83
Copy link
Copy Markdown
Owner

Awesome, thanks for the PR! I’ll give it a try on my setup and merge it if all goes well. 🙌

@madsnedergaard
Copy link
Copy Markdown
Contributor Author

Awesome, thanks for the PR! I’ll give it a try on my setup and merge it if all goes well. 🙌

Thanks for the speedy reply :)

I attempted to sign with Eclipse, but without success - is there a particular link I need to use to sign it?

@leonchen83
Copy link
Copy Markdown
Owner

No worries — this is just a small project, so there’s no need to sign anything.

@leonchen83 leonchen83 merged commit f79ac0b into leonchen83:master Nov 25, 2025
2 of 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.

2 participants