Actually, rolespec is set depending whether you're running under travis
or not. Under travis, it uses libs in ./libs, otherwise, it assumes to
be installed via make install and uses /usr/local/lib/rolespec
However, this behavior prevents installation under travis, which can be
useful in some circumstances.
This patch add the possibility to set lib path before calling the
script.
if ROLESPEC_LIB environment variable is set, rolespec will use
this path to load it's bash libraries.
if ROLESPEC_LIB is not set, the previous behavior is maintained (i.e.
use ./lib under Travis, and /usr/local/lib/rolespec otherwise.
So, in order to use a rolespec installed with make install under
Travis, you can issue:
Actually, rolespec is set depending whether you're running under travis or not. Under travis, it uses libs in ./libs, otherwise, it assumes to be installed via
make install
and uses/usr/local/lib/rolespec
However, this behavior prevents installation under travis, which can be useful in some circumstances.
This patch add the possibility to set lib path before calling the script.
ROLESPEC_LIB
environment variable is set, rolespec will use this path to load it's bash libraries.ROLESPEC_LIB
is not set, the previous behavior is maintained (i.e. use./lib
under Travis, and/usr/local/lib/rolespec
otherwise.So, in order to use a rolespec installed with
make install
under Travis, you can issue: