Merge remote-tracking branch 'origin/topic/bbannier/issue-3266'

* origin/topic/bbannier/issue-3266:
  Fix installation of symlink with `DESTDIR`
This commit is contained in:
Tim Wojtulewicz 2025-08-26 08:59:20 -07:00
commit d7db612b0f
3 changed files with 16 additions and 2 deletions

View file

@ -14,7 +14,7 @@ install(
CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E create_symlink \
${ZEEK_CONFIG_BTEST_TOOLS_DIR}/data \
${CMAKE_INSTALL_PREFIX}/share/zeek/tests \
\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/share/zeek/tests \
)")
install(DIRECTORY scripts/spicy/ DESTINATION ${ZEEK_CONFIG_BTEST_TOOLS_DIR}/data/Scripts