It is more widely used than I thought. Signed-off-by: Felix Fietkau <[email protected]> SVN-Revision: 43068
@@ -1,3 +1,7 @@
+getvar() {
+ eval "echo \"\${$1}\""
+}
+
var2file() {
local var
eval "var=\"\${$1}\""