All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: Ewan Mellor <ewan@xensource.com>
Cc: Christoph Egger <Christoph.Egger@amd.com>, xen-devel@lists.xensource.com
Subject: Re: [PATCH] yet another package check (take 2)
Date: Thu, 14 Dec 2006 16:59:36 +0000	[thread overview]
Message-ID: <45819108.76E4.0078.0@novell.com> (raw)
In-Reply-To: <20061214164716.GA2717@leeni.uk.xensource.com>

>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

  reply	other threads:[~2006-12-14 16:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 16:23 [PATCH] yet another package check (take 2) Jan Beulich
2006-12-14 16:47 ` Ewan Mellor
2006-12-14 16:59   ` Jan Beulich [this message]
2006-12-14 17:04     ` Ewan Mellor
2006-12-14 17:11 ` Ewan Mellor
2006-12-15  8:22   ` Jan Beulich
2006-12-15  9:33     ` Ewan Mellor
2006-12-15  9:49       ` Keir Fraser
2006-12-15  9:50       ` Jan Beulich
2006-12-15  9:54         ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45819108.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=Christoph.Egger@amd.com \
    --cc=ewan@xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.