mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D46996 (cherry picked from commit334af5e413) env: Improve documentation. * The `env` utility's inability to run a command whose name contains an equal sign is a feature, not a bug, so move that paragraph up from the BUGS section to the DESCRIPTION section. * Mention that this can be worked around by prefixing the command name with `command`, and add an example of this to the EXAMPLE section. * Add a test case which verifies that `env` does not run a command with an equal sign in its name even if it exists, and also demonstrates the workaround. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D46997 (cherry picked from commita0dfb0668b) env: Add an option to change the directory. This mirrors the equivalent option in GNU coreutils env, but does not add support for long options. MFC after: 3 days Relnotes: yes Sponsored by: Klara, Inc. Reviewed by: 0mp, bcr Differential Revision: https://reviews.freebsd.org/D47008 (cherry picked from commit6f6166e49c) env: Check the status of stdout. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D47009 (cherry picked from commitc2d93a803a)
13 lines
192 B
Makefile
13 lines
192 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= runtime
|
|
PROG= env
|
|
SRCS= env.c envopts.c
|
|
|
|
LIBADD= util
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}= tests
|
|
|
|
.include <bsd.prog.mk>
|