mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add alternative way to set BROPATH for running bro from build/ dir.
Adds two extra shell scripts, one to handle either the c-shell or bourne-shell syntax for setting environment variables, that can be sourced in order to set the BROPATH directly in the current shell/environment in a way that's compatible with running bro from the build/ directory.
This commit is contained in:
parent
0b0c3f6ede
commit
abd92115f4
3 changed files with 16 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
# After configured by CMake, this file prints the absolute path to policy
|
||||
# files that come with the source distributions of Bro and Broctl as well
|
||||
# as policy files that are generated by the BIF compiler at compile time
|
||||
|
@ -6,7 +7,7 @@
|
|||
# the build directory, avoiding the need to install it. This could be
|
||||
# done like:
|
||||
#
|
||||
# BROPATH=`source bro-path-dev` ./src/bro
|
||||
# BROPATH=`./bro-path-dev` ./src/bro
|
||||
#
|
||||
|
||||
broPolicies=${PROJECT_SOURCE_DIR}/policy:${PROJECT_SOURCE_DIR}/policy/sigs:${PROJECT_SOURCE_DIR}/policy/time-machine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue