diff --git a/include/shell.sh b/include/shell.sh index a1e5cbe66f..634beedcef 100644 --- a/include/shell.sh +++ b/include/shell.sh @@ -1,3 +1,7 @@ +getvar() { + eval "echo \"\${$1}\"" +} + var2file() { local var eval "var=\"\${$1}\""