From 00199dc9e3a909b8140b7d96d06ffdb264894571 Mon Sep 17 00:00:00 2001 From: vkalintiris Date: Thu, 2 May 2024 15:07:51 +0300 Subject: [PATCH] Cpack fixes (#17576) * Fix list joining * Fix plugin apps typo --- packaging/cmake/Modules/Packaging.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/cmake/Modules/Packaging.cmake b/packaging/cmake/Modules/Packaging.cmake index 0bb2304c8465f3..c7244a51450a56 100644 --- a/packaging/cmake/Modules/Packaging.cmake +++ b/packaging/cmake/Modules/Packaging.cmake @@ -69,7 +69,7 @@ list(APPEND _main_deps "netdata-plugin-chartsd (= ${CPACK_PACKAGE_VERSION})") list(APPEND _main_deps "netdata-plugin-pythond (= ${CPACK_PACKAGE_VERSION})") if(ENABLE_PLUGIN_APPS) - list(APPEND _main_deps "netdata-plguin-apps (= ${CPACK_PACKAGE_VERSION})") + list(APPEND _main_deps "netdata-plugin-apps (= ${CPACK_PACKAGE_VERSION})") endif() if(ENABLE_PLUGIN_GO) @@ -96,7 +96,7 @@ if(ENABLE_PLUGIN_EBPF) list(APPEND _main_deps "netdata-plugin-ebpf (= ${CPACK_PACKAGE_VERSION})") endif() -list(JOIN "${_main_deps}" ", " CPACK_DEBIAN_NETDATA_PACKAGE_DEPENDS) +list(JOIN _main_deps ", " CPACK_DEBIAN_NETDATA_PACKAGE_DEPENDS) set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_SOURCE_DIR}/packaging/cmake/control/netdata/conffiles;"