mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Band-aid to get Broxygen's bif documentation back.
We'll need a different approach here eventually.
This commit is contained in:
parent
8752870967
commit
11fd12b18e
7 changed files with 72 additions and 65 deletions
|
@ -1024,8 +1024,10 @@ void get_script_subpath(const std::string& full_filename, const char** subpath)
|
|||
my_subpath.erase(0, strlen(BRO_SCRIPT_INSTALL_PATH));
|
||||
else if ( (p = my_subpath.find(BRO_SCRIPT_SOURCE_PATH)) != std::string::npos )
|
||||
my_subpath.erase(0, strlen(BRO_SCRIPT_SOURCE_PATH));
|
||||
else if ( (p = my_subpath.find(BRO_BUILD_PATH)) != std::string::npos )
|
||||
my_subpath.erase(0, strlen(BRO_BUILD_PATH));
|
||||
else if ( (p = my_subpath.find(BRO_BUILD_SOURCE_PATH)) != std::string::npos )
|
||||
my_subpath.erase(0, strlen(BRO_BUILD_SOURCE_PATH));
|
||||
else if ( (p = my_subpath.find(BRO_BUILD_SCRIPTS_PATH)) != std::string::npos )
|
||||
my_subpath.erase(0, strlen(BRO_BUILD_SCRIPTS_PATH));
|
||||
|
||||
// if root path found, remove path separators until next path component
|
||||
if ( p != std::string::npos )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue