WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 2 of 4] fix not functional eval

Zhigang Wang writes ("[Xen-devel] [PATCH 2 of 4] fix not functional eval"):
> fix not functional eval
> 
> I don't understand why use eval here. It doesn't work and the case syntax
> seems not right.

You are right that the case syntax is wrong.  But the eval is needed
because
  case "$name" in
  $NAMES)
doesn't look into $NAMES to see the |s.

The existing script is a perfectly hideous piece of code.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel