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)

fixed patch file

  • bin/smokeping_cgi

    old new  
    66
    77use FindBin;
    88use lib (split /:/, q{}); # PERL5LIB
    9 use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
     9use lib "__PREFIX__/lib/smokeping/lib";use lib "__PERL5__ARCHLIB__/auto/RRDs"; # LIBDIR
    1010
    1111# don't bother with zombies
    1212$SIG{CHLD} = 'IGNORE';
     
    1717
    1818use CGI::Fast;
    1919
    20 my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
     20my $cfg = "__PREFIX__/etc/smokeping/config";
    2121
    2222
    2323while (my $q = new CGI::Fast) {