Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always Set Project Dir as Working Dir #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DiCanio
Copy link
Member

@DiCanio DiCanio commented Apr 15, 2021

Replaces any calls to pwd with a routine that
sets baseDir to the location of any affected
invoked script. This change avoids changes to
directories outside of this project when its
scripts are invoked from outside of the project
directory.

Currently only follows a single symlink since
MacOS is missing the -f flag necessary for
following multiple links.

Resolves #3.

Replaces any calls to pwd with a routine that
sets baseDir to the location of any affected
invoked script. This change avoids changes to
directories outside of this project when its
scripts are invoked from outside of the project
directory.

Currently only follows a single symlink since
MacOS is missing the -f flag necessary for
following multiple links.
@DiCanio DiCanio added the enhancement New feature or request label Apr 15, 2021
@DiCanio DiCanio requested a review from juliangruendner April 15, 2021 14:49
@DiCanio DiCanio self-assigned this Apr 15, 2021
@DiCanio
Copy link
Member Author

DiCanio commented Apr 15, 2021

@juliangruendner since you are using a Mac yourself I would appreciate if you could have a look on whether the readlink command on your system actually provides a -f flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow invocations from other locations than the project dir
1 participant