manual-connections
manual-connections copied to clipboard
fix path to cert file into dynamic value
cert file path must be dynamicly computed into absolute path to be independent of the current running dir
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.
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
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?
CAPS characters is for global variable