X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=examples%2Fbigtops.pl.in;h=0f5d98ccc85ac1ece2dd509fda577eb52b5508a2;hp=ed93b7a74826a2fb1d3a938d4eb32c23eb626cfe;hb=cffc3b561fbc7bafbde87b10edf18013df3da531;hpb=5837606887a6d81e8b1f7588525cb1c8783fb62b diff --git a/examples/bigtops.pl.in b/examples/bigtops.pl.in index ed93b7a..0f5d98c 100755 --- a/examples/bigtops.pl.in +++ b/examples/bigtops.pl.in @@ -1,14 +1,12 @@ #! @PERL@ - -#makes things work when run without install -use lib qw( ../libraries/perl-shared/blib/lib ../libraries/perl-shared/blib/arch ); # this is for after install -use lib qw( @prefix@/lib/perl ../lib/perl ); +use lib qw( @prefix@/lib/perl ); use RRDs; my $start=time; my $rrd="randome.rrd"; my $name = $0; +$name =~ s/.*\///g; $name =~ s/\.pl.*//g; RRDs::create ($rrd, "--start",$start-1, "--step",300,