diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-29 00:34:38 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-29 00:34:38 +0200 |
commit | f05d11a794291157f39778907c698c9008cd7edf (patch) | |
tree | 42649e5fa0d81d599589344f703af2a91d3e4762 /bin/smokeinfo | |
parent | a0d01155dc7b2774435721aa319625c9c42d9e59 (diff) | |
download | smokeping-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-x | bin/smokeinfo | 7 |
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; |