X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=tools%2Frun-locally;h=eb55d181c76e793df96415cd651fa12b032a824e;hp=0bf1c0a76f2f45c65c4598bc444e01fb559231af;hb=299d5b9dd260d47ac5121126ecd0e3f7bc4830b5;hpb=945b6e0a085611b45b2ab0752a66e6e60b21666c diff --git a/tools/run-locally b/tools/run-locally index 0bf1c0a..eb55d18 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);