mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-11-05 01:38:02 +09:00
fix lua invocation
This commit is contained in:
parent
224e99b366
commit
e86cf23b47
@ -72,7 +72,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_config_var() {
|
set_config_var() {
|
||||||
lua - -- "$1" "$2" "$3" <<EOF > "$3.bak"
|
lua - "$1" "$2" "$3" <<EOF > "$3.bak"
|
||||||
local key=assert(arg[1])
|
local key=assert(arg[1])
|
||||||
local value=assert(arg[2])
|
local value=assert(arg[2])
|
||||||
local fn=assert(arg[3])
|
local fn=assert(arg[3])
|
||||||
|
Loading…
Reference in New Issue
Block a user