aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-14 10:08:54 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-18 10:59:16 +0100
commit5090c576e3a76727c39a9b3221b2e82b545bc983 (patch)
tree8cc8b6b146b02fca04c0d20c346feef46b05d589 /.gitignore
parentrpc: Fix name of member in remote_protocol-structs (diff)
downloadlibvirt-5090c576e3a76727c39a9b3221b2e82b545bc983.tar.gz
libvirt-5090c576e3a76727c39a9b3221b2e82b545bc983.tar.bz2
libvirt-5090c576e3a76727c39a9b3221b2e82b545bc983.zip
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
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7d49a3523..1cd2d4580 100644
--- a/.gitignore
+++ b/.gitignore
@@ -94,6 +94,7 @@
/python/libvirt.[ch]
/python/libvirt.py
/python/libvirt_qemu.py
+/run
/sc_*
/src/.*.stamp
/src/esx/*.generated.*