mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Ability to set env vars in bin/exec-env
This commit is contained in:
parent
7f86587353
commit
26ec9a774a
@ -43,7 +43,8 @@ exec_command() {
|
||||
|
||||
|
||||
local install_path=$(get_install_path $package $install_type $version)
|
||||
exec ${install_path}/${executable_path} ${@:3}
|
||||
local exec_env=$(${source_path}/bin/exec-env $install_type $version $install_path)
|
||||
eval $exec_env ${install_path}/${executable_path} ${@:3}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user