diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-20 08:16:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-20 08:16:11 +0200 |
| commit | a5ba424f85153b1ddaaf5e5269c82f0f049828d0 (patch) | |
| tree | b9c158930159f2ab1ea2eb45e9e19ccdd0fbb76b /tools/build_perl_modules | |
| parent | a99db0243baa5d208c5d500a9bde86b4619cec92 (diff) | |
| parent | 220455a11e8f1dd3a86ac4725cf0c799c8e3b21b (diff) | |
| download | monitoring-plugins-a5ba424f85153b1ddaaf5e5269c82f0f049828d0.tar.gz | |
Merge branch 'master' into master
Diffstat (limited to 'tools/build_perl_modules')
| -rwxr-xr-x | tools/build_perl_modules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/build_perl_modules b/tools/build_perl_modules index 5a57a471..b8cd34c3 100755 --- a/tools/build_perl_modules +++ b/tools/build_perl_modules | |||
| @@ -140,7 +140,7 @@ my $libs = "$destdir/$prefix/lib:$destdir/$prefix/lib/$Config{archname}"; | |||
| 140 | 140 | ||
| 141 | my $topdir = cwd(); | 141 | my $topdir = cwd(); |
| 142 | 142 | ||
| 143 | # set an initial value if there isnt one already | 143 | # set an initial value if there isn't one already |
| 144 | # Need to use PERL5LIB to ensure we get pre-installed mods from earlier | 144 | # Need to use PERL5LIB to ensure we get pre-installed mods from earlier |
| 145 | # tags in the install_order file | 145 | # tags in the install_order file |
| 146 | $ENV{PERL5LIB} ||= q{}; | 146 | $ENV{PERL5LIB} ||= q{}; |
| @@ -149,8 +149,8 @@ $ENV{PERL5LIB} ||= q{}; | |||
| 149 | $ENV{PERL_AUTOINSTALL} = "--skipdeps"; | 149 | $ENV{PERL_AUTOINSTALL} = "--skipdeps"; |
| 150 | 150 | ||
| 151 | # keep a record of how many times a module build is done. This is so they may | 151 | # keep a record of how many times a module build is done. This is so they may |
| 152 | # be built a second time to include optional prereq's that couldnt | 152 | # be built a second time to include optional prereq's that couldn't |
| 153 | # previously be built due to circular dependancies | 153 | # previously be built due to circular dependencies |
| 154 | my %built_modules; | 154 | my %built_modules; |
| 155 | foreach my $tarball (@tarballs) { | 155 | foreach my $tarball (@tarballs) { |
| 156 | ( my $dir = $tarball ) =~ s/\.(?:tgz|tar.gz)$//; | 156 | ( my $dir = $tarball ) =~ s/\.(?:tgz|tar.gz)$//; |
