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