diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/shell.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/shell.sh b/include/shell.sh index a1e5cbe..634beed 100644 --- a/include/shell.sh +++ b/include/shell.sh @@ -1,3 +1,7 @@ +getvar() { + eval "echo \"\${$1}\"" +} + var2file() { local var eval "var=\"\${$1}\"" |