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

fix path to cert file into dynamic value #90

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

Conversation

StudioEtrange
Copy link

cert file path must be dynamicly computed into absolute path to be independent of the current running dir

@g00nix
Copy link
Contributor

g00nix commented Jan 30, 2021

I guess this solved the bug where the user runs the scripts from another folder and the scripts can not find the CA file. Please confirm this is the case, and we will run some QA on this PR and approve it.

@StudioEtrange
Copy link
Author

StudioEtrange commented Jan 30, 2021

In short : Yes that is the case !

And solved other situations relative to the situation when we use scripts independently (running get_token alone or port_forwarding alone) from whatever current running directory is,
and help when integrating the scripts in other script for automation purpose

@g00nix
Copy link
Contributor

g00nix commented Feb 19, 2022

Sorry for the long wait time. I think the common practice for the variable name is script_dir, not CURRENT_FILE_DIR. What do you think?

@StudioEtrange
Copy link
Author

CAPS characters is for global variable

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