Skip to content
Snippets Groups Projects
Commit 4b5a9365 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Make the xen-cmd test more readable and portable


Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent db620e95
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ AC_ARG_WITH([xen-cmd],
[xen_cmd="xm"])
AC_SUBST(XEN_CMD, $xen_cmd)
if ! (test "$XEN_CMD" == "xl" || test "$XEN_CMD" == "xm"); then
if ! test "$XEN_CMD" = xl -o "$XEN_CMD" = xm; then
AC_MSG_ERROR([Unsupported xen command specified])
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment