[Fusioninventory-devel] fusioninventory-esx

Mario Gzuk mariogzuk at technikz.de
Mon Mar 25 10:13:09 UTC 2013


Hi,
on windows the following changes are needed to run the 
fusioninventory-esx from perl\bin\:

BEGIN {
     use File::Spec;
     use File::Basename;

     my $directory = dirname(File::Spec->rel2abs( __FILE__ ));
     # on Win2k, Windows do not chdir to the bin directory
     # we need to do it by ourself
     chdir($directory);
}
#!/usr/bin/perl

use strict;
use warnings;
use lib '../agent';

This may also be needed by: fusioninventory-netdiscovery and 
fusioninventory-netinventory

Cheers



More information about the Fusioninventory-devel mailing list