Ability to set env vars in bin/exec-env

This commit is contained in:
Akash Manohar J 2014-12-14 22:22:37 +05:30
parent 7f86587353
commit 26ec9a774a

View File

@ -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}
}