From ec15abd24430e2eda5aaaaed90bf24f9fb123540 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Fri, 7 Jun 2013 10:10:14 +0200 Subject: [PATCH] bugfix: don't replace variables when spawning binary, by flygoast --- lsyncd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsyncd.lua b/lsyncd.lua index 22a6e8e..f73e8e2 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -3001,7 +3001,7 @@ local functionWriter = ( function( ) while ai <= #a do if a[ ai ][ 1 ] then local pre, post = - string.match( a[ ai ][ 2 ], '(.*)"..v[1].."(.*)' ) + string.match( a[ ai ][ 2 ], '(.*)'..v[1]..'(.*)' ) if pre then