runsmod: bug

This commit is contained in:
Jephté Clain 2016-09-01 15:44:21 +04:00
parent 538b84fbe5
commit 9995f9583c
1 changed files with 3 additions and 1 deletions

View File

@ -221,8 +221,10 @@ function __runsmod_fixinfo() {
function runsmod_autoconf() {
if __runsmod_loadconf && runsmod_checkenv --check-only; then
local host_mode="${1:-self}"; shift
set -- "$host_mode" "$@"
runsmod_setup_vars
runsmod_update_vars "${1:-self}"
runsmod_update_vars "$@"
runsmod_teardown_vars
if show_debug; then
etitle SCRIPTSDIRS array_each SCRIPTSDIRS ppath