mirror of https://github.com/octoleo/lsyncd.git
bugfix: don't replace variables when spawning binary, by flygoast
This commit is contained in:
parent
46d23d59b3
commit
ec15abd244
|
@ -3001,7 +3001,7 @@ local functionWriter = ( function( )
|
||||||
while ai <= #a do
|
while ai <= #a do
|
||||||
if a[ ai ][ 1 ] then
|
if a[ ai ][ 1 ] then
|
||||||
local pre, post =
|
local pre, post =
|
||||||
string.match( a[ ai ][ 2 ], '(.*)"..v[1].."(.*)' )
|
string.match( a[ ai ][ 2 ], '(.*)'..v[1]..'(.*)' )
|
||||||
|
|
||||||
if pre then
|
if pre then
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue