From 5bf0a9baf36ab68d089a6daf6a3ac23c3c10e00d Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 7 Sep 2023 08:22:05 +0200 Subject: [PATCH] Fix regression in invokation of rspamd-test A space seems to have sneaked into the setting of LUA_PATH environment. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58839fbf9..d3db35b20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- 2.39.5