Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > 2a368c7b1897812fd5a51498e2a930f3 > files > 6

svl-0.29-8mdv2009.0.src.rpm

=== bin/svlserve
==================================================================
--- bin/svlserve	(revision 75)
+++ bin/svlserve	(revision 76)
@@ -65,7 +65,8 @@
 
 my ($beacon_host, $beacon_port, $opendht);
 if ($on_net) {
-  my $beaconclient = file(file($Bin)->parent, 'lib', 'SVL', 'BeaconClient.pm');
+  (my $beaconclient = $INC{'SVL.pm'}) =~ s/.pm//;
+  $beaconclient .= '/BeaconClient.pm';
   my $pipe = IO::Pipe->new;
   $pipe->reader($^X, $beaconclient, $global_uuid);
   my $first = <$pipe>;