summaryrefslogtreecommitdiffstats
path: root/tools/run-locally
diff options
context:
space:
mode:
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);