shell_recorder: fix to not add lines
@@ -51,12 +51,10 @@ if (ENABLE_KDB_TESTING)
string (LENGTH "${USE_CMAKE_KDB_COMMAND}" LENGTH_KDB_COMMAND)
if (LENGTH_KDB_COMMAND EQUAL 0)
set (INCLUDE_COMMON
- "${INCLUDE_COMMON_FILE}\n
- KDB=\"${KDB_COMMAND}\"\n\
- export PATH=\"${CMAKE_BINARY_DIR}/bin\":$PATH"
+ "${INCLUDE_COMMON_FILE}export KDB=\"${KDB_COMMAND}\" PATH=\"${CMAKE_BINARY_DIR}/bin\":$PATH"
)
else (LENGTH_KDB_COMMAND EQUAL 0)
- set (INCLUDE_COMMON "${INCLUDE_COMMON_FILE}\nKDB=\"kdb\"")
+ set (INCLUDE_COMMON "${INCLUDE_COMMON_FILE}KDB=\"kdb\"")
endif (LENGTH_KDB_COMMAND EQUAL 0)
configure_file (
