Richard W.M. Jones 5090c576e3 Add a ./run script for running programs from the local directory.
With this script you can run libvirt programs without needing to
install them first.  You just have to do for example:

  ./run ./tools/virsh [args ...]

If you are already in the tools/ subdirectory, then the following
command will also work:

  ../run ./virsh [...]

You can also run the C programs under valgrind like this:

  ./run valgrind [valgrind opts...] ./program

or under gdb:

  ./run gdb --args ./program

This also works with sudo (eg. if you need root access for libvirt):

  sudo ./run ./tools/virsh list --all

Derived from libguestfs and simplified.  The ./run script in
libguestfs is much more sophisticated:

https://github.com/libguestfs/libguestfs/blob/master/run.in
2012-09-18 10:59:16 +01:00
..
2012-09-18 14:42:29 +08:00
2012-09-17 21:28:08 -06:00
2011-04-01 16:03:11 -06:00
2011-10-29 19:50:48 +02:00
2011-03-28 10:40:24 +08:00
2012-06-13 18:23:00 +01:00
2011-08-26 17:52:55 +02:00
2011-02-18 08:59:51 +01:00
2011-04-01 16:03:11 -06:00
2011-10-28 10:07:45 +01:00
2012-08-31 20:41:06 +08:00
2012-08-10 10:58:38 +02:00
2011-05-11 08:18:04 -06:00
2011-04-01 16:03:11 -06:00