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:
parent
ec9afb5182
commit
309d4c85cf
@ -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]+#/ &&
|
||||
|
Loading…
Reference in New Issue
Block a user