fix defect in ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6c70f1ce4e
commit
57244d37ef
@ -115,6 +115,10 @@ pkgs_d='' #packages to remove
|
||||
|
||||
OIFS=$IFS
|
||||
IFS=$(printf '\n')
|
||||
if ( pmatch "$OSVER" "ubuntu*" ); then
|
||||
IFS=$(printf '\n')
|
||||
fi
|
||||
|
||||
for x in `echo "$OSPKGS" | tr "," "\n"`
|
||||
do
|
||||
#remove leading and trailing spaces
|
||||
|
Loading…
x
Reference in New Issue
Block a user