mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Add to Perl INC path.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -6,6 +6,16 @@ BEGIN | ||||
| { | ||||
|     $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat'; | ||||
| } | ||||
|  | ||||
| # 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"; | ||||
| } | ||||
|  | ||||
| use lib "$::XCATROOT/lib/perl"; | ||||
| require xCAT::Table; | ||||
| use POSIX qw(ceil); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user