projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not reset the last_ds store unless the data source type is actually changed.
[rrdtool.git]
/
examples
/
piped-demo.pl.in
diff --git
a/examples/piped-demo.pl.in
b/examples/piped-demo.pl.in
index
71d69e7
..
cafb0f5
100755
(executable)
--- a/
examples/piped-demo.pl.in
+++ b/
examples/piped-demo.pl.in
@@
-16,10
+16,12
@@
$SVG = "piped-demo.svg";
$PNG = "piped-demo.png";
# some magic to find the correct rrdtol executable
$PNG = "piped-demo.png";
# some magic to find the correct rrdtol executable
+$prefix="@prefix@";
+
if ( -x "@exec_prefix@/bin/rrdtool") {
RRDp::start "@exec_prefix@/bin/rrdtool";
if ( -x "@exec_prefix@/bin/rrdtool") {
RRDp::start "@exec_prefix@/bin/rrdtool";
-} elsif ( -x "../bin/rrdtool") {
- RRDp::start "../bin/rrdtool";
+} elsif ( -x "../
../../
bin/rrdtool") {
+ RRDp::start "../
../../
bin/rrdtool";
} else {
RRDp::start "../src/rrdtool";
}
} else {
RRDp::start "../src/rrdtool";
}