summaryrefslogtreecommitdiffstats
path: root/tools/build_perl_modules
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2013-08-23 12:40:55 +0200
committerSven Nierlein <sven@consol.de>2013-08-23 12:40:55 +0200
commitfae168a68b132b3a9e32e346342d23fff2b927f2 (patch)
treea0a727401bb5fdee674fa3157d7177849b65ba20 /tools/build_perl_modules
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/build_perl_modules')
-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 af82db91..9a880ff5 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";