From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Prefer 'command -v' over 'which' (for portability)
Date: Tue, 28 Jan 2014 07:54:53 +0100 [thread overview]
Message-ID: <52E7543D.9010103@mind.be> (raw)
In-Reply-To: <CAHXCMMKE-WDNCTQ82uuEM5n=t4Ua=qTDTTaBxQ7=wVgiBejd0w@mail.gmail.com>
On 27/01/14 10:19, Samuel Martin wrote:
> "command -v" seems not playing very well with aliases:
>
> $ command -v make
> alias make='~/.config/ctafconf/bin/colorwarper make'
> $ which make
> /usr/bin/make
I don't think your .profile gets executed when running a shell script,
so the alias will not be set. Bash does use BASH_ENV to specify a startup
script, so perhaps we should unexport that.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2014-01-28 6:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 14:11 [Buildroot] [PATCH 1/1] Prefer 'command -v' over 'which' (for portability) Bjørn Forsman
2014-01-27 6:44 ` Thomas Petazzoni
2014-01-27 19:47 ` Bjørn Forsman
2014-01-27 7:20 ` Arnout Vandecappelle
2014-01-27 20:13 ` Bjørn Forsman
2014-01-27 22:23 ` Bjørn Forsman
2014-01-27 9:19 ` Samuel Martin
2014-01-27 20:01 ` Bjørn Forsman
2014-01-27 20:32 ` Thomas De Schampheleire
2014-01-27 21:09 ` Bjørn Forsman
2014-01-28 6:54 ` Arnout Vandecappelle [this message]
2014-02-15 11:44 ` Yann E. MORIN
2014-02-15 13:29 ` Bjørn Forsman
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=52E7543D.9010103@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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.