diff --git a/core/internal/shell/variables/functions b/core/internal/shell/variables/functions index 72d71ecd..f1d69e2b 100644 --- a/core/internal/shell/variables/functions +++ b/core/internal/shell/variables/functions @@ -9,7 +9,7 @@ __sm.variables.are.nonempty() for _variable in "${_variables[@]}" do - eval "[[ -n \"\${_variable:-}\" ]]" || return 1 + eval "[[ -n \"\${${_variable}:-}\" ]]" || return 1 done return 0 }