mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Fix installation of symlink with DESTDIR
We install test data which we also make available under an alternative path for backwards compatibility. The installation of this symlink did not take `DESTDIR` installs like used by Zeek's packaging into account which caused installations from packages to behave different from installs from source. This patch fixes the symlink to respect a possible `DESTDIR`. Closes #3266.
This commit is contained in:
parent
c9c5959d49
commit
15604811cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue