From ec15abd24430e2eda5aaaaed90bf24f9fb123540 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Fri, 7 Jun 2013 10:10:14 +0200 Subject: [PATCH 1/2] 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 From eb4370db9cff19cc81b0f7d07396dc8dd6806c60 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Fri, 7 Jun 2013 10:13:55 +0200 Subject: [PATCH 2/2] a2x is actually not required when building from a tarball --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index c95a496..dceae97 100644 --- a/configure.ac +++ b/configure.ac @@ -15,10 +15,10 @@ AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET -AC_PATH_PROG([A2X], [a2x], [no]) -if test x${A2X} = xno ; then - AC_MSG_ERROR([Program 'a2x' (package asciidoc) is required]) -fi +#AC_PATH_PROG([A2X], [a2x], [no]) +#if test x${A2X} = xno ; then +# AC_MSG_ERROR([Program 'a2x' (package asciidoc) is required]) +#fi ### # Checks for Lua