]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
vstart: generate environment script suitable for sourcing
authorJeff Layton <jlayton@redhat.com>
Tue, 26 Mar 2019 15:01:49 +0000 (11:01 -0400)
committerJeff Layton <jlayton@redhat.com>
Sun, 31 Mar 2019 12:55:52 +0000 (08:55 -0400)
commit967d8327694a268d67f8987fab0a39f23438d2c3
tree6f78d44cbf34c8ef705345dce31a8ca46a773da9
parent21339422a26bb3cdcebb10d037516f7a1bdd38d1
vstart: generate environment script suitable for sourcing

At the end, vstart.sh will print out some commands to set up the
environment variables suitably for running things out of the tree.
Unfortunately, they just go to stdout so it's hard to refer to them from
other shells.

Have it tee those lines to a separate vstart_environment.sh file that
can be sourced into the local environment.

While we're at it, let's not use relative paths here, as that makes
the validity of these paths depend on the cwd.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/vstart.sh