projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show element type in legend
[rrdtool.git]
/
examples
/
stripes.pl.in
diff --git
a/examples/stripes.pl.in
b/examples/stripes.pl.in
index
5c4c6df
..
362f499
100755
(executable)
--- a/
examples/stripes.pl.in
+++ b/
examples/stripes.pl.in
@@
-1,10
+1,5
@@
#! @PERL@
#! @PERL@
-
-#makes things work when run without install
-use lib qw( ../bindings/perl-shared/blib/lib ../bindings/perl-shared/blib/arch );
-
-#makes programm work AFTER install
-use lib qw( @prefix@/lib/perl ../lib/perl );
+use lib qw( @prefix@/lib/perl );
use strict;
use vars qw(@ISA $loaded);
use strict;
use vars qw(@ISA $loaded);
@@
-43,7
+38,7
@@
RRDs::graph "stripes.png",
"COMMENT:alpha=TIME,1200,%,600,LT,a,UNKN,IF",
"COMMENT:beta=TIME,1200,%,600,GE,b,UNKN,IF\\j";
if ($ERROR = RRDs::error) {
"COMMENT:alpha=TIME,1200,%,600,LT,a,UNKN,IF",
"COMMENT:beta=TIME,1200,%,600,GE,b,UNKN,IF\\j";
if ($ERROR = RRDs::error) {
-
print
"ERROR: $ERROR\n";
+
die
"ERROR: $ERROR\n";
};
};