summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b151936)
raw | patch | inline | side by side (parent: b151936)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 27 Aug 2005 20:52:12 +0000 (20:52 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 27 Aug 2005 20:52:12 +0000 (20:52 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@676 a5681a0c-68f1-0310-ab6d-d61299d08faa
examples/piped-demo.pl.in | patch | blob | history |
index 71d69e7135cb93f33da20b8ec97e67eeb24f6482..02e105c32d8a4cb1087e3fa6debaa65396f66250 100755 (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";
-} elsif ( -x "../bin/rrdtool") {
- RRDp::start "../bin/rrdtool";
+} elsif ( -x "../../bin/rrdtool") {
+ RRDp::start "../../bin/rrdtool";
} else {
RRDp::start "../src/rrdtool";
}