summaryrefslogtreecommitdiffstats
path: root/usr.bin/env/Makefile
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2005-06-20 03:43:25 +0000
committergad <gad@FreeBSD.org>2005-06-20 03:43:25 +0000
commit82ebcba30a9758c7d78686445ec2eaf32d2f4481 (patch)
tree3fc7c846fa2293810c4c2f91e4161ef12ce38915 /usr.bin/env/Makefile
parentb785b6343ef380b2072604d84d7dacc05e51a7c6 (diff)
downloadFreeBSD-src-82ebcba30a9758c7d78686445ec2eaf32d2f4481.zip
FreeBSD-src-82ebcba30a9758c7d78686445ec2eaf32d2f4481.tar.gz
Add the '-S' and '-P' options. The '-S' option can be used to split
apart a string, and supports some text substitutions. This can be used to provide all the flexibility (and more!) that was lost by recent changes to how the kernel parses #!-lines in shell scripts. The '-P' option provides a way to specify an alternate set of directories to use when searching for the 'utility' program to run. This way you can be sure what directories are used for that search, without changing the value of PATH that the user has set. Note that on FreeBSD 6.0, this option is worthless unless the '-S' option is also used. Approved by: re (blanket `env')
Diffstat (limited to 'usr.bin/env/Makefile')
-rw-r--r--usr.bin/env/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/env/Makefile b/usr.bin/env/Makefile
index 7c74937..bc1eea4 100644
--- a/usr.bin/env/Makefile
+++ b/usr.bin/env/Makefile
@@ -2,5 +2,7 @@
# $FreeBSD$
PROG= env
+SRCS= env.c envopts.c
+WARNS?= 6
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud