summaryrefslogtreecommitdiffstats
path: root/tools/run-locally
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-10-26 11:03:07 +0000
committerRichard Jones <rjones@redhat.com>2009-10-29 15:58:23 +0000
commit792c5283009ed6753239a14df9a6e9c71bea35fd (patch)
treedfe3bf8136e85adedbb3c9d98ef748f4b61f2ec0 /tools/run-locally
parentd609130cb65fe7795b168a796426e39d64ceda97 (diff)
downloadlibguestfs-792c5283009ed6753239a14df9a6e9c71bea35fd.tar.gz
libguestfs-792c5283009ed6753239a14df9a6e9c71bea35fd.tar.xz
libguestfs-792c5283009ed6753239a14df9a6e9c71bea35fd.zip
Support for Windows Registry.
In hivex/: This mini-library allows us to extract Windows Registry binary files ("hives"). There are also two tools: hivexml converts a hive to a self-describing XML format. hivexget can be used to extract single subkeys from a hive. New tool: virt-win-reg. This is a wrapper around the library functionality allowing you to pull out data from the registries of Windows guests.
Diffstat (limited to 'tools/run-locally')
-rwxr-xr-xtools/run-locally3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run-locally b/tools/run-locally
index 0bf1c0a7..eb55d181 100755
--- a/tools/run-locally
+++ b/tools/run-locally
@@ -48,9 +48,10 @@ while(-l $path) {
# Get the absolute path of the parent directory
$path = abs_path(dirname($path).'/..');
+$ENV{PATH} = $path.'/hivex:'.$ENV{PATH};
$ENV{LD_LIBRARY_PATH} = $path.'/src/.libs';
$ENV{LIBGUESTFS_PATH} = $path.'/appliance';
$ENV{PERL5LIB} = $path.'/perl/blib/lib:'.$path.'/perl/blib/arch';
-print (join " ", ("$path/tools/virt-$tool", @ARGV), "\n");
+#print (join " ", ("$path/tools/virt-$tool", @ARGV), "\n");
exec('perl', "$path/tools/virt-$tool", @ARGV);