Sourcing workspaces is currently a bit annoying. Since sourcing lives in a bash script we need the fzirob wrapper to be rather complex. A lot of this functionality could be moved to python
so sourcing could be re-used from other scripts such as build and (future) test.
We could use a mechanism like running "bash -c 'source init_env > /dev/null 2>&1 && env'" in a subprocess and then read the variables from the output.
Sourcing workspaces is currently a bit annoying. Since sourcing lives in a bash script we need the
fzirob
wrapper to be rather complex. A lot of this functionality could be moved to python so sourcing could be re-used from other scripts such asbuild
and (future)test
.We could use a mechanism like running
"bash -c 'source init_env > /dev/null 2>&1 && env'"
in a subprocess and then read the variables from the output.