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
This commit is contained in:
mellor 2010-05-26 03:52:09 +00:00
parent ec9afb5182
commit 309d4c85cf

View File

@ -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]+#/ &&