소스 검색

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\")")