From e1515f211aa03f837ba8d0c5247e85cf92754420 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 29 Jul 2009 16:09:32 +0000 Subject: [PATCH] remove Linux check around XML::Simple::PREFERRED_PARSER git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCscan.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/PPCscan.pm b/perl-xCAT/xCAT/PPCscan.pm index 4c92b31cc..e79295bcb 100644 --- a/perl-xCAT/xCAT/PPCscan.pm +++ b/perl-xCAT/xCAT/PPCscan.pm @@ -5,9 +5,7 @@ use strict; use Getopt::Long; use Socket; use XML::Simple; -if ($^O =~ /^linux/i) { - $XML::Simple::PREFERRED_PARSER='XML::Parser'; -} +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR); use xCAT::PPCdb; use xCAT::GlobalDef;