mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -9,10 +9,7 @@ BEGIN
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
my $inet6support;
 | 
			
		||||
 
 | 
			
		||||
@@ -10,10 +10,7 @@ BEGIN
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use lib "$::XCATROOT/lib/perl";
 | 
			
		||||
 
 | 
			
		||||
@@ -9,12 +9,8 @@ BEGIN
 | 
			
		||||
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i)
 | 
			
		||||
{
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use lib "$::XCATROOT/lib/perl";
 | 
			
		||||
 
 | 
			
		||||
@@ -5,12 +5,8 @@ package xCAT::MsgUtils;
 | 
			
		||||
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i)
 | 
			
		||||
{
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
    use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use strict;
 | 
			
		||||
 
 | 
			
		||||
@@ -10,10 +10,7 @@ BEGIN
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use lib "$::XCATROOT/lib/perl";
 | 
			
		||||
 
 | 
			
		||||
@@ -51,10 +51,7 @@ BEGIN
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use lib "$::XCATROOT/lib/perl";
 | 
			
		||||
 
 | 
			
		||||
@@ -10,10 +10,7 @@ BEGIN
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use lib "$::XCATROOT/lib/perl";
 | 
			
		||||
 
 | 
			
		||||
@@ -10,10 +10,7 @@ BEGIN
 | 
			
		||||
# if AIX - make sure we include perl 5.8.2 in INC path.
 | 
			
		||||
#       Needed to find perl dependencies shipped in deps tarball.
 | 
			
		||||
if ($^O =~ /^aix/i) {
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/5.8.2";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
 | 
			
		||||
        use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
 | 
			
		||||
	unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use lib "$::XCATROOT/lib/perl";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user