public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaranm@ciaranm.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] /{"",usr/}bin path changed. What is the right solution for scripts?
Date: Sun, 1 Apr 2007 16:21:31 +0100	[thread overview]
Message-ID: <20070401162131.7400cb75@snowflake> (raw)
In-Reply-To: <1175440513.22663.40.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

On Sun, 01 Apr 2007 19:15:13 +0400
Peter Volkov <pva@gentoo.org> wrote:
> On Sun, 2007-04-01 at 00:01 -0700, Alec Warner wrote: 
> > One idea that comes to mind is /usr/bin/env $bin
> 
> And here we return to the problem that one day /usr/bin/env, could
> become /bin/env... Or that /usr/ sometimes is not mounted during boot.

env not being in /usr/bin will break an awful lot of stuff. It's listed
in many textbooks as being the safe way of doing things.

-- 
Ciaran McCreesh


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-04-01 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-01  6:02 [gentoo-dev] /{"",usr/}bin path changed. What is the right solution for scripts? Peter Volkov
2007-04-01  6:57 ` Christopher Sawtell
2007-04-01  6:57 ` Guillermo A. Amaral
2007-04-01  7:01 ` [gentoo-dev] /{"", usr/}bin " Alec Warner
2007-04-01  7:09   ` Mike Frysinger
2007-04-01  9:56 ` [gentoo-dev] /{"",usr/}bin " Roy Marples
2007-04-01 15:15 ` Peter Volkov
2007-04-01 15:21   ` Ciaran McCreesh [this message]
2007-04-01 15:46     ` [gentoo-dev] /{"", usr/}bin " Alec Warner
2007-04-02 10:42       ` Peter Volkov

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=20070401162131.7400cb75@snowflake \
    --to=ciaranm@ciaranm.org \
    --cc=gentoo-dev@lists.gentoo.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