mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Add 'bro-config' script.
This commit is contained in:
parent
5c0d8c649a
commit
c29cd54618
4 changed files with 76 additions and 4 deletions
|
@ -949,11 +949,9 @@ const std::string& bro_path()
|
|||
if ( bro_path_value.empty() )
|
||||
{
|
||||
const char* path = getenv("BROPATH");
|
||||
|
||||
if ( ! path )
|
||||
path = ".:"
|
||||
BRO_SCRIPT_INSTALL_PATH ":"
|
||||
BRO_SCRIPT_INSTALL_PATH "/policy" ":"
|
||||
BRO_SCRIPT_INSTALL_PATH "/site";
|
||||
path = DEFAULT_BROPATH;
|
||||
|
||||
bro_path_value = path;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue