[Bro-Dev] Loading directories
Robin Sommer
robin at icir.org
Thu Jun 2 22:04:16 PDT 2011
On Wed, Jun 01, 2011 at 12:08 -0700, I wrote:
> What I'm wondering hiwer is whether we should move "foo.bro" into the
> subdirectory under some magic name
I've just commited this to master. The magic file name is
"__load__.bro".
However, it turns out that "@load ./abc.bro" doesn't work because the
cwd doesn't get adjusted when loading a file. That isn't easy to add,
so I'm leaving that as it is. Seems fine for now.
Robin
--
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org
More information about the bro-dev
mailing list