diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index aa485bbd4..af40aa41a 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -34,7 +34,6 @@ use Cwd 'abs_path'; use File::Path; use File::Basename; - #----------------------------------------------------------------------------- # Main diff --git a/xCAT-buildkit/lib/perl/xCAT/BuildKitUtils.pm b/xCAT-buildkit/lib/perl/xCAT/BuildKitUtils.pm index ee99d7905..9a0dc30a4 100644 --- a/xCAT-buildkit/lib/perl/xCAT/BuildKitUtils.pm +++ b/xCAT-buildkit/lib/perl/xCAT/BuildKitUtils.pm @@ -13,6 +13,8 @@ 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"; use POSIX qw(ceil); use File::Path;