summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--perlmods/install_order10
-rwxr-xr-xtools/build_perl_modules1
2 files changed, 6 insertions, 5 deletions
diff --git a/perlmods/install_order b/perlmods/install_order
index d4056f9..7d84cef 100644
--- a/perlmods/install_order
+++ b/perlmods/install_order
@@ -1,13 +1,13 @@
1# Modules installed in this order 1# Modules installed in this order
2Test-Simple 2Test-Simple
3Perl-OSType 3Perl-OSType
4parent
5version
6Try-Tiny
7Module-Metadata
8Module-Runtime
9Module-Implementation 4Module-Implementation
5Module-Metadata
6version
10Module-Build 7Module-Build
8Module-Runtime
9parent
10Try-Tiny
11Params-Validate 11Params-Validate
12Math-Calc-Units 12Math-Calc-Units
13Class-Accessor 13Class-Accessor
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";