Fixed enviorment variables support for path expansion
Signed-off-by: Hagai Cohen <hagaic@mellanox.com>
This commit is contained in:
parent
f75ba16d5f
commit
5876669273
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ tpm_plugins_variable_name="@tpm_plugins"
|
|||
_manual_expansion() {
|
||||
local path="$1"
|
||||
local expanded_tilde="${path/#\~/$HOME}"
|
||||
echo "${expanded_tilde/#\$HOME/$HOME}"
|
||||
echo $(echo $expanded_tilde | envsubst)
|
||||
}
|
||||
|
||||
_tpm_path() {
|
||||
|
|
Loading…
Reference in a new issue