Commit cd8aa2d6 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Allow overriding of LbEnv kit location

parent 3a0f1a50
Pipeline #861534 passed with stages
in 49 seconds
......@@ -14,11 +14,11 @@ if [ -z "$LBENV_SOURCED" ] ; then
export LBENV_FLAVOUR=%flavour%
if [ -e %lbenv_root%/$_host_os/bin/activate ] ; then
source %lbenv_root%/$_host_os/bin/activate
if [ -e ${OVERRIDE_LBENVROOT:-%lbenv_root%/$_host_os}/bin/activate ] ; then
source ${OVERRIDE_LBENVROOT:-%lbenv_root%/$_host_os}/bin/activate
eval $(python -m LbEnv --sh --siteroot ${OVERRIDE_MYSITEROOT:-%siteroot%} "$@" || echo deactivate)
echo "Platform not supported ($_host_os)"
echo "Platform not supported: cannot find ${OVERRIDE_LBENVROOT:-%lbenv_root%/$_host_os}"
unset _host_os
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment