From: Juergen Keil <jk@tools.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] configure
Date: Wed, 9 May 2007 10:51:17 +0200 (CEST) [thread overview]
Message-ID: <200705090851.l498pIUN022707@imap.tools.intra> (raw)
> Thiemo Seufer wrote:
> Jeff Chua wrote:
> [snip]
> > @@ -567,7 +567,8 @@
> > fi
> >
> > # Check if tools are available to build documentation.
> > -if [ -x "`which texi2html`" ] && [ -x "`which pod2man`" ]; then
> > +if [ -x "`which texi2html 2>/dev/null`" \
> > + -a -x "`which pod2man 2>/dev/null`" ]; then
>
> Under which circumstances does "which" complain about unavailable
> executables?
Isn't the use of "which" wrong, anyway?
"which" belongs to csh/tcsh, and tells you about csh's/tcsh's idea
about a command or a csh command alias.
IMO, for a /bin/sh (or bash) script, using the "type" command would
be a better idea.
next reply other threads:[~2007-05-09 8:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 8:51 Juergen Keil [this message]
2007-05-09 9:18 ` [Qemu-devel] [PATCH] configure Jeff Chua
2007-05-09 9:40 ` Andreas Schwab
2007-05-09 14:55 ` Jeff Chua
2007-05-09 17:10 ` Andreas Schwab
2007-05-09 13:50 ` Joachim Henke
2007-05-09 14:04 ` Thiemo Seufer
2007-05-09 15:58 ` [Qemu-devel] " Ben Pfaff
-- strict thread matches above, loose matches on Subject: below --
2007-05-09 3:39 [Qemu-devel] " Ben Taylor
2007-05-08 15:43 Jeff Chua
2007-05-08 21:00 ` Thiemo Seufer
2007-05-09 0:18 ` Jeff Chua
2007-05-09 0:41 ` Thiemo Seufer
2007-05-09 3:22 ` Jeff Chua
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=200705090851.l498pIUN022707@imap.tools.intra \
--to=jk@tools.de \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).