summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0eaefa2)
raw | patch | inline | side by side (parent: 0eaefa2)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 28 Feb 2008 12:54:49 +0000 (12:54 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 28 Feb 2008 12:54:49 +0000 (12:54 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1936 f882894a-f735-0410-b71e-b25c423dba1c
tools/build_perl_modules | patch | blob | history |
index fb47145940e6d725525cd2b7ae69e335aa55b079..4bdb81b12a62a5deaad996ce0423bde8cdd98b86 100755 (executable)
--- a/tools/build_perl_modules
+++ b/tools/build_perl_modules
chdir $dir or die "Can't chdir into $dir";
# Need to add this so this module is found for subsequent ones
- $ENV{PERL5LIB}="$topdir/$dir/blib/lib:$ENV{PERL5LIB}";
+ my @dirs = split(":", $ENV{PERL5LIB} || "");
+ unshift @dirs, "$topdir/$dir/blib/lib";
+ $ENV{PERL5LIB}=join(":", @dirs);
if ($opts->{t}) {
system("make test") == 0 or die "Can't run make test failed";