mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 07:03:44 +00:00
Revert "include/shell.sh: remove getvar()"
It is more widely used than I thought. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43068
This commit is contained in:
parent
4aa8c512b0
commit
d4754e1eb5
@ -1,3 +1,7 @@
|
||||
getvar() {
|
||||
eval "echo \"\${$1}\""
|
||||
}
|
||||
|
||||
var2file() {
|
||||
local var
|
||||
eval "var=\"\${$1}\""
|
||||
|
Loading…
Reference in New Issue
Block a user