On Mon, Jun 25, 2018 at 06:21:06PM +0200, Roger Pau Monné wrote: > On Mon, Jun 25, 2018 at 12:35:33PM +0100, Wei Liu wrote: > > The paths shouldn't be set to "yes". > > If you want to check if an absolute path is provided I would rather > do: > > case $withval in > no) ovmf_path= ;; > /*) ovmf_path=$withval ;; > *) AC_MSG_ERROR([OVMF specified, but is not an absolute path]) ;; > esac > > The path would still allow anything else apart from 'yes' to still be > considered and absolute path.
Right, /* is better. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel