-
Couldn't load subscription status.
- Fork 1.2k
Closed
Labels
Community reveiwedGenuine community participationGenuine community participationFull-ApprovalMerge is imminentMerge is imminentdocumentationenhancementpackaging
Description
This issue is here to discuss how to simplify and resolve the problems related to:
- where
easyrsais located verses - the current directory, where
easyrsawas called.
When running easyrsa from the same directory as the location of the PKI, things generally work.
When easyrsa is not located in $PWD then things go wrong:
$EASYRSAis evaluated to the script directory not the working directory.
While it is a very simple fix, #475 changes this behavior by explicitly setting $EASYRSA to $PWD.
This is a binary choice; Either easyrsa is in $PWD or it is not.
- If
$0points to$PWDtheneasyrsais here. Normal functions resumed.. - Otherwise, it is somewhere else. Good luck..
This seems to be a far simpler choice than the if/elif/else maze to be found in vars_setup(). If otherwise then simple measures can be put in place for that specific situation.
Comments welcome.
dariosusman and obervinovdariosusman and OverAll03
Metadata
Metadata
Assignees
Labels
Community reveiwedGenuine community participationGenuine community participationFull-ApprovalMerge is imminentMerge is imminentdocumentationenhancementpackaging