From f05d11a794291157f39778907c698c9008cd7edf Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 28 Sep 2011 22:34:38 +0000 Subject: * silent build * add perl and library path to the scripts on install --- bin/smokeinfo | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bin/smokeinfo') 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; -- cgit v1.2.3-24-g4f1b