diff options
author | Sven Nierlein <Sven.Nierlein@consol.de> | 2013-08-23 12:40:55 +0200 |
---|---|---|
committer | Sven Nierlein <sven@consol.de> | 2013-08-23 12:40:55 +0200 |
commit | fae168a68b132b3a9e32e346342d23fff2b927f2 (patch) | |
tree | a0a727401bb5fdee674fa3157d7177849b65ba20 | |
parent | 912a2eaf023814027ecec4805746b746ddfd5262 (diff) | |
download | monitoring-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_order | 10 | ||||
-rwxr-xr-x | tools/build_perl_modules | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/perlmods/install_order b/perlmods/install_order index d4056f93..7d84cef2 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 |
2 | Test-Simple | 2 | Test-Simple |
3 | Perl-OSType | 3 | Perl-OSType |
4 | parent | ||
5 | version | ||
6 | Try-Tiny | ||
7 | Module-Metadata | ||
8 | Module-Runtime | ||
9 | Module-Implementation | 4 | Module-Implementation |
5 | Module-Metadata | ||
6 | version | ||
10 | Module-Build | 7 | Module-Build |
8 | Module-Runtime | ||
9 | parent | ||
10 | Try-Tiny | ||
11 | Params-Validate | 11 | Params-Validate |
12 | Math-Calc-Units | 12 | Math-Calc-Units |
13 | Class-Accessor | 13 | Class-Accessor |
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"; |