Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2021 15:58:26 +0200
From:      =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@freebsd.org>
To:        freebsd-testing@freebsd.org
Subject:   atf-sh shebang
Message-ID:  <CA%2Bq%2BTcpM=MAjwh_PJjrp5OFnwZAty5AHS-G3ATziQAhaFy80Cg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

atf-sh(1) man page says:
"
Scripts using atf-sh(3) should start with:
           #! /usr/bin/env atf-sh
"

And env(1) man page says: "The env utility uses the PATH environment
variable to locate the requested utility"

But atf-sh is installed in /usr/libexec/ and this directory is not in the
default PATH.

So should we:
1. update the atf-sh(1) man page;
2. or update the default $PATH to add /usr/libexec;
3. or moving atf-sh into a directory referenced by the default $PATH ?

Regards,
Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcpM=MAjwh_PJjrp5OFnwZAty5AHS-G3ATziQAhaFy80Cg>