atf-sh shebang

Olivier Cochard-Labbé olivier at freebsd.org
Thu Apr 8 13:58:39 UTC 2021


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


More information about the freebsd-testing mailing list