]> source.dussan.org Git - rspamd.git/commitdiff
Fix regression in invokation of rspamd-test 4588/head
authorLinus Nordberg <linus@nordberg.se>
Thu, 7 Sep 2023 06:22:05 +0000 (08:22 +0200)
committerLinus Nordberg <linus@nordberg.se>
Thu, 7 Sep 2023 06:22:05 +0000 (08:22 +0200)
A space seems to have sneaked into the setting of LUA_PATH environment.

CMakeLists.txt

index 58839fbf943db4385c2d5a0386aa8f0ad632e893..d3db35b20ff16df8b90ee2b92d56c704558bd1c9 100644 (file)
@@ -779,7 +779,7 @@ IF (NOT DEBIAN_BUILD)
     ADD_CUSTOM_TARGET(check DEPENDS rspamd-test-cxx rspamd-test)
     ADD_CUSTOM_TARGET(run-test DEPENDS check
             COMMAND test/rspamd-test-cxx
-            COMMAND sh -c 'LUA_PATH= "${CMAKE_SOURCE_DIR}/lualib/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/init.lua\;${CMAKE_SOURCE_DIR}/contrib/lua-?/?.lua"
+            COMMAND sh -c 'LUA_PATH="${CMAKE_SOURCE_DIR}/lualib/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/init.lua\;${CMAKE_SOURCE_DIR}/contrib/lua-?/?.lua"
             test/rspamd-test -p /rspamd/lua')
 ENDIF (NOT DEBIAN_BUILD)