|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] yet another package check (take 2)
>How about
>
>if ! python -c 'import xml.dom.minidom' 2>/dev/null ; then
> echo
> echo " *** Check for python development environment FAILED"
> exit 1
>else
> exit 0
>fi
Why not - I didn't invent the other method, I just cloned what we had for
python-devel (which in turn I created based on suggestions from you and
others). I'm not a python person at all, I just want understandable error
messages when dependencies are missing instead of cryptic ones.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|