lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8bd0f97a0612191405o5aa8c469o5a5f4d3df2018ba5@mail.gmail.com>
Date:	Tue, 19 Dec 2006 17:05:54 -0500
From:	"Mike Frysinger" <vapier.adi@...il.com>
To:	"Andrew Morton" <akpm@...l.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [patch] search a little harder for mkimage

On 12/19/06, Andrew Morton <akpm@...l.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ