diff --git a/configure.ac b/configure.ac index 5c31c07..0ef3245 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 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