Set PREFERRED_PARSER for linux only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f38d25c920
commit
651d9f749e
@ -9,7 +9,9 @@ use Storable qw(freeze thaw);
|
||||
use Time::HiRes qw(gettimeofday);
|
||||
use IO::Select;
|
||||
use XML::Simple;
|
||||
$XML::Simple::PREFERRED_PARSER='XML::Parser';
|
||||
if ($^O =~ /^linux/i) {
|
||||
$XML::Simple::PREFERRED_PARSER='XML::Parser';
|
||||
}
|
||||
use xCAT::PPCdb;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user