virtualzation run.sh: launch run.base.sh from same path as run.sh
authorChris Wright <chrisw@sous-sol.org>
Wed, 22 Jan 2014 04:30:41 +0000 (20:30 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 22 Jan 2014 05:28:21 +0000 (21:28 -0800)
commit2f64d29f992ddfc14d20e51077cd64534caf7a3b
treec698ee62756db5b2566815bf488fcae4c1d87575
parentf3ff14cd45dbef7688811dd8b302ecc6d6d4cc5f
virtualzation run.sh: launch run.base.sh from same path as run.sh

The virtualization edition's run.sh script internally hard codes
the underlying run.base.sh script to be in cwd:

  ./run.base.sh ...

Use a trick similar to the base edition's run.sh script to redirect to
the underlying [run.base.sh] script to use the same path as run.sh.

Note: A platform (like Linux) is likely to place a top-level run.sh
script in a /bin type directory and the underlying internal scripts in
an out-of-$PATH directory like /usr/libexec/.  This may need some final
update based on that, but for now brings the two editions' scripts in
line with one another.

Change-Id: Ia8d719826de02efa6a36d3427f880cf062edc547
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
distributions/virtualization/src/assemble/resources/run.sh