From 61f9181cba829d4a36fda28ce3e67bf68a1d30f5 Mon Sep 17 00:00:00 2001 From: amy0701 Date: Tue, 2 Aug 2011 09:03:56 +0000 Subject: [PATCH] fix trim bug git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-test/xcattest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index e9b74f393..9801ebe5c 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -576,9 +576,9 @@ sub trim { my $str = shift @_; if($str){ - $str =~ s/\#/__wellnumber__/g; +# $str =~ s/\#/__wellnumber__/g; $str =~ s/^\s+|#.+|\s+$//g; - $str =~ s/__wellnumber__/#/g; + # $str =~ s/__wellnumber__/#/g; } return $str; }