-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --env-file default for env (bash parsed).
In addition to bash, the wrapper script requires sort and comm commands to be installed and on the PATH. If the --env-file option is used then a bash wrapper is invoked to source the file that tracks the before and after of variables and this is used to construct the resulting environment map. This is done by making all variable settings implicitly exports (`set -a`) and then printing the before and after variables using `declare -x`, and finally getting added ones using `comm -13`.
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters