summaryrefslogtreecommitdiffstats
path: root/bin/smokeinfo
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-29 00:34:38 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-29 00:34:38 +0200
commitf05d11a794291157f39778907c698c9008cd7edf (patch)
tree42649e5fa0d81d599589344f703af2a91d3e4762 /bin/smokeinfo
parenta0d01155dc7b2774435721aa319625c9c42d9e59 (diff)
downloadsmokeping-f05d11a794291157f39778907c698c9008cd7edf.tar.gz
smokeping-f05d11a794291157f39778907c698c9008cd7edf.tar.xz
* silent build
* add perl and library path to the scripts on install
Diffstat (limited to 'bin/smokeinfo')
-rwxr-xr-xbin/smokeinfo7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/smokeinfo b/bin/smokeinfo
index 48439c8..caf77d2 100755
--- a/bin/smokeinfo
+++ b/bin/smokeinfo
@@ -1,9 +1,12 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
use strict;
+use warnings;
-use lib qw(/usr/pack/rrdtool-1.3.2-to/lib/perl);
use FindBin;
+# PERL5LIB
+use lib "$FindBin::Bin/../thirdparty/lib/perl5";
use lib "$FindBin::Bin/../lib";
+
use Smokeping::Info;
use Getopt::Long 2.25 qw(:config no_ignore_case);
use Pod::Usage 1.14;