Permalink
Browse files

Bugfix: variables are empty, variable nesting was one level too deep.

  • Loading branch information...
1 parent 33022ad commit 50b71c2b7de9aaca8307ea32ce684a9caac88e2c @wayneeseguin wayneeseguin committed Jan 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
}

0 comments on commit 50b71c2

Please sign in to comment.