Skip to content

fix: Make sure "./run" is the invocation - #5724

Merged
rjsparks merged 3 commits into
ietf-tools:mainfrom
richsalz:test-whereami
Jun 8, 2023
Merged

fix: Make sure "./run" is the invocation#5724
rjsparks merged 3 commits into
ietf-tools:mainfrom
richsalz:test-whereami

Conversation

@richsalz

Copy link
Copy Markdown
Collaborator

I have made this mistake far too often :)

@NGPixel
NGPixel requested a review from rjsparks May 31, 2023 20:12
@rjsparks

Copy link
Copy Markdown
Member

A nit and a suggestion:

Nit: This could do the wrong thing if there happened to be some other executable named run in the current working (but unintended) directory.

Suggestion: Instead of erroring, consider modifying the script to cd to the right place internally. Experiment with cd "$(dirname "$0")" and the like.

@rjsparks
rjsparks merged commit 32b90b9 into ietf-tools:main Jun 8, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 12, 2023
@richsalz
richsalz deleted the test-whereami branch July 22, 2023 16:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants