Ticket #68642: fixed-patch-bin-smokeping_cgi.diff
File fixed-patch-bin-smokeping_cgi.diff, 613 bytes (added by sbytnar (Steven Bytnar), 12 months ago) |
---|
-
bin/smokeping_cgi
old new 6 6 7 7 use FindBin; 8 8 use lib (split /:/, q{}); # PERL5LIB 9 use lib " $FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR9 use lib "__PREFIX__/lib/smokeping/lib";use lib "__PERL5__ARCHLIB__/auto/RRDs"; # LIBDIR 10 10 11 11 # don't bother with zombies 12 12 $SIG{CHLD} = 'IGNORE'; … … 17 17 18 18 use CGI::Fast; 19 19 20 my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";20 my $cfg = "__PREFIX__/etc/smokeping/config"; 21 21 22 22 23 23 while (my $q = new CGI::Fast) {