From 309d4c85cf0f123d002281ec82ba742e076c288e Mon Sep 17 00:00:00 2001 From: mellor Date: Wed, 26 May 2010 03:52:09 +0000 Subject: [PATCH] fix OTHERPKGS processing to remove leading blanks git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Postage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index d20824ed7..01a139a80 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -312,6 +312,7 @@ sub makescript { while (readline(FILE1)) { chomp($_); #remove newline s/\s+$//; #remove trailing spaces + s/^\s*//; #remove leading blanks next if /^\s*$/; #-- skip empty lines next if ( /^\s*#/ && !/^\s*#INCLUDE:[^#^\n]+#/ &&