From ae14aa1bfce21daf7c3e059e8ce77ce786d94c64 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sat, 27 Sep 2008 14:55:00 +0000 Subject: [PATCH] -Fix db2man failure on rpm build git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 2276ee17b..47d26a8ce 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -2576,25 +2576,25 @@ sub get_nodeset_state { my $boottype=$ent->{netboot}; #get nodeset state from corresponding files if ($boottype eq "pxe") { - use xCAT_plugin::pxe; + require xCAT_plugin::pxe; my $tmp=xCAT_plugin::pxe::getstate($node); my @a=split(' ', $tmp); $state = $a[0]; } elsif ($boottype eq "yaboot") { - use xCAT_plugin::yaboot; + require xCAT_plugin::yaboot; my $tmp=xCAT_plugin::yaboot::getstate($node); my @a=split(' ', $tmp); $state = $a[0]; } elsif ($boottype eq "aixinstall") { - use xCAT_plugin::aixinstall; + require xCAT_plugin::aixinstall; $state=xCAT_plugin::aixinstall::getNodesetState($node); } } else { #default to AIX because AIX does not set noderes.netboot value - use xCAT_plugin::aixinstall; + require xCAT_plugin::aixinstall; $state=xCAT_plugin::aixinstall::getNodesetState($node); }