Add 'bro-config' script.

This commit is contained in:
Jon Siwek 2016-08-15 14:45:29 -05:00
parent 5c0d8c649a
commit c29cd54618
4 changed files with 76 additions and 4 deletions

View file

@ -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;
}