浏览代码

HPCC-25300 Avoid permission issues with kafka build

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 4 年之前
父节点
当前提交
874f77c634
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/kafka/CMakeLists.txt

+ 1 - 0
plugins/kafka/CMakeLists.txt

@@ -66,6 +66,7 @@ if(KAFKA)
             COMMAND if [ ! -f ${LIBRDKAFKA_BUILD_DIR}/src/Makefile.config ]\; then echo "Configuring librdkafka" && cd ${LIBRDKAFKA_BUILD_DIR}/src && ./configure --prefix=${LIBRDKAFKA_BUILD_DIR}\; fi
             # If either there is no checksum file or if the checksums are different, re-make librdkafka
             COMMAND if [ ! -f ${LIBRDKAFKA_BUILD_DIR}/src/_md5.txt ] || ! md5sum --quiet --status -c ${LIBRDKAFKA_BUILD_DIR}/src/_md5.txt\; then echo "Building librdkafka" && cd ${LIBRDKAFKA_BUILD_DIR}/src && make libs && make install\; fi
+            COMMAND rm -f ${LIBRDKAFKA_BUILD_DIR}/src/_md5.txt
             COMMENT Copying and building librdkafka)
 
         install(CODE "set(ENV{LD_LIBRARY_PATH} \"\$ENV{LD_LIBRARY_PATH}:${LIBRDKAFKA_BUILD_DIR}/lib\")")