]> xenbits.xensource.com Git - libvirt.git/commit
run.in: Add intelligent prepend function.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 16 Jan 2020 17:15:41 +0000 (17:15 +0000)
committerErik Skultety <eskultet@redhat.com>
Tue, 21 Jan 2020 12:04:40 +0000 (13:04 +0100)
commitae428ca723219fbe64c79cc7d0137c82691553bb
tree9a93e5477bf26fa8db077ab13f63eb7cb478b58f
parentd61f95cf6a6fbd564e104c168d325581acd9cd8d
run.in: Add intelligent prepend function.

This has been used in libguestfs and libnbd for quite a while as it
makes the ./run script easier to read and write.

See also:
http://stackoverflow.com/a/9631350

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
run.in