1
0
Fork 0
mirror of synced 2024-11-13 21:18:57 -05:00

Fixed enviorment variables support for path expansion

Signed-off-by: Hagai Cohen <hagaic@mellanox.com>
This commit is contained in:
Hagai Cohen 2015-11-23 18:56:19 +02:00
parent f75ba16d5f
commit 5876669273

View file

@ -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() {