diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-17 23:15:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-17 23:15:59 +0200 |
| commit | d3e07d2b5734149c1314cb98b48dd1adebd62686 (patch) | |
| tree | a924b49927ae1925a7e0893d31e0c9c6abd3228e /tools/build_perl_modules | |
| parent | 495c4c9adfa482303b31cdac7d28adda82d2d2ed (diff) | |
| parent | 2ddc75e69db5a3dd379c896d8420c9af20ec1cee (diff) | |
| download | monitoring-plugins-d3e07d2b5734149c1314cb98b48dd1adebd62686.tar.gz | |
Merge branch 'master' into dev/check_ssh-patches
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)$//; |
