aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTobias Oetiker <tobi@oetiker.ch>2021-08-06 15:46:13 +0200
committerTobias Oetiker <tobi@oetiker.ch>2021-08-10 14:29:32 +0200
commitc549565177201d19cce92fda9d0efde30bdea1f0 (patch)
tree30db2f07a4ee0a6aac938bf41b62a09a8dd593b4 /bin
parentf362b7b1292f80a6645c81894859d73483abb8ca (diff)
downloadsmokeping-c549565177201d19cce92fda9d0efde30bdea1f0.tar.gz
Release 2.8.0
* switch to carton for managing module dependencies * updated changes file * add action for build testing * add action for issue and pr cleanup
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile.am3
-rwxr-xr-xbin/smokeping3
-rwxr-xr-xbin/smokeping_cgi3
3 files changed, 3 insertions, 6 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am
index 3f4b21a..2c6f3bc 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -18,8 +18,7 @@
dist_bin_SCRIPTS = smokeinfo smokeping smokeping_cgi tSmoke
install-exec-hook:
- test "$(PERL5LIB)" = "" || cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{^#!.*}{#!$(PERL)}; s{.*# PERL5LIB}{use lib (split /:/, q{$(PERL5LIB)}); # PERL5LIB}' $(dist_bin_SCRIPTS)
+ test "$(PERL5LIB)" = "" || cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib (split /:/, q{$(PERL5LIB)}); # PERL5LIB}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# LIBDIR}{use lib qw($(libdir)); # LIBDIR}' $(dist_bin_SCRIPTS)
cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{^#!.*perl.*}{#!$(PERL)};' $(dist_bin_SCRIPTS)
-
# EOF
diff --git a/bin/smokeping b/bin/smokeping
index 041eebf..7104f89 100755
--- a/bin/smokeping
+++ b/bin/smokeping
@@ -5,8 +5,7 @@ use strict;
use warnings;
use lib (split /:/, q{}); # PERL5LIB
-use FindBin;
-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
+use FindBin; use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
use Smokeping;
diff --git a/bin/smokeping_cgi b/bin/smokeping_cgi
index dee9c88..5b4407e 100755
--- a/bin/smokeping_cgi
+++ b/bin/smokeping_cgi
@@ -5,8 +5,7 @@ use strict;
use warnings;
use lib (split /:/, q{}); # PERL5LIB
-use FindBin;
-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
+use FindBin; use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
# don't bother with zombies
$SIG{CHLD} = 'IGNORE';