Re: Execlineb scripts on systems with conflicting binaries

From: Laurent Bercot <>
Date: Fri, 27 May 2016 13:46:20 +0200

On 27/05/2016 13:25, Eric Vidal wrote:
> You put me doubt. If my environment PATH is declared as it :
> PATH=/usr/bin:/usr/local/bin, the first import program taken is
> /usr/bin/import, not? i'm wrong?

  If PATH=/usr/bin:/usr/local/bin then "import" will *always* refer
to /usr/bin/import, and you have to hardcode /usr/local/bin/import if
you want to refer to that one.

  If PATH=/usr/local/bin:/usr/bin, which it *should* be, because local
administrator binaries should always have precedence over distribution
binaries, then it's the other way around: you cannot refer to /usr/bin/import
unless you type the full absolute path.

Received on Fri May 27 2016 - 11:46:20 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC