summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2013-08-23 10:40:55 (GMT)
committerSven Nierlein <sven@consol.de>2013-08-23 10:40:55 (GMT)
commitfae168a68b132b3a9e32e346342d23fff2b927f2 (patch)
treea0a727401bb5fdee674fa3157d7177849b65ba20 /tools
parent912a2eaf023814027ecec4805746b746ddfd5262 (diff)
downloadmonitoring-plugins-fae168a68b132b3a9e32e346342d23fff2b927f2.tar.gz
perlmods: fixed install_order
on older systems Module::Build is not available by default, therefore we have to change the order of installation.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build_perl_modules1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build_perl_modules b/tools/build_perl_modules
index af82db9..9a880ff 100755
--- a/tools/build_perl_modules
+++ b/tools/build_perl_modules
@@ -62,6 +62,7 @@ foreach my $tarball (@tarballs) {
62 if ($opts->{m}) { 62 if ($opts->{m}) {
63 # Don't compile if already done - this is because of invocating this 63 # Don't compile if already done - this is because of invocating this
64 # script at different stages 64 # script at different stages
65 print "******************** $tarball\n";
65 unless (-e $dir) { 66 unless (-e $dir) {
66 system("gunzip -c $tarball | tar -xf -") == 0 or die "Cannot extract $tarball"; 67 system("gunzip -c $tarball | tar -xf -") == 0 or die "Cannot extract $tarball";
67 chdir $dir or die "Can't chdir into $dir"; 68 chdir $dir or die "Can't chdir into $dir";