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:
Jon Siwek 2011-03-02 14:14:07 -06:00
parent 0b0c3f6ede
commit abd92115f4
3 changed files with 16 additions and 4 deletions

13
INSTALL
View file

@ -92,6 +92,13 @@ with it. In the following we give a few simple examples. See the
quickstart guide at http://www.bro-ids.org for more information; you
can the source that in doc/quick-start.
For developers that wish to run Bro after performing "make", but
without performing "make install", see build/bro-path-dev for
an example.
For developers that wish to run Bro from the the build/ directory
after performing "make", but without performing "make install", they
will have to first set BROPATH to look for scripts inside the build
directory. Sourcing either build/bro-path-dev.sh or build/bro-path-dev.csh
as appropriate for the current shell accomplishes this. e.g.:
> ./configure
> make
> source build/bro-path-dev.sh
> ./build/src/bro