mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier.adi@gmail.com>
To: "Andrew Morton" <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] search a little harder for mkimage
Date: Tue, 19 Dec 2006 17:05:54 -0500	[thread overview]
Message-ID: <8bd0f97a0612191405o5aa8c469o5a5f4d3df2018ba5@mail.gmail.com> (raw)
In-Reply-To: <20061219122135.8100b198.akpm@osdl.org>

On 12/19/06, Andrew Morton <akpm@osdl.org> wrote:
> > -MKIMAGE=$(type -path mkimage)
> > +MKIMAGE=$(type -path ${CROSS_COMPILE}mkimage)
>
> Do all bash versions support `type -path'?

i've just always used `type -p` myself ...

but, bash-2.05 supports it for sure and that was released back in 2001 ...

> Perhaps /usr/bin/which would be safer, dunno.

which can be tricky as it behaves a little differently on some
platforms and may not always even be installed ... OS X for example is
notorious for being a piece of crap ... `which asdfasdf` will echo the
error to stdout and exit with a status of 0 even though the test
obviously failed
-mike

      reply	other threads:[~2006-12-19 22:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-19  5:20 Mike Frysinger
2006-12-19 20:21 ` Andrew Morton
2006-12-19 22:05   ` Mike Frysinger [this message]

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=8bd0f97a0612191405o5aa8c469o5a5f4d3df2018ba5@mail.gmail.com \
    --to=vapier.adi@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®