Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
0e5969b2da552c8b6bfd69f8f35ff44e18af2328
/
.
/
include
/
shell.sh
blob: 6ee0cf6030ac5e0a71d7be1c2438c58ee9724caf [
file
] [
log
] [
blame
]
getvar
()
{
eval
"echo \"\${$1}\""
}
var2file
()
{
local
var
eval
"var=\"\${$1}\""
if
[
-
n
"$var"
];
then
echo
"$var"
>
"$2"
;
fi
}
isset
()
{
local
var
eval
"var=\"\${$1}\""
[
-
n
"$var"
]
}