svn commit: r194158 - head/gnu/usr.bin/man/apropos

Brian Somers brian at FreeBSD.org
Sun Jun 14 06:09:34 UTC 2009


Author: brian
Date: Sun Jun 14 06:09:33 2009
New Revision: 194158
URL: http://svn.freebsd.org/changeset/base/194158

Log:
  Don't set $PATH - if the caller doesn't have /bin and /usr/bin in their
  PATH then they can expect things to break.
  
  PR:		135417
  MFC after:	3 weeks

Modified:
  head/gnu/usr.bin/man/apropos/apropos.sh

Modified: head/gnu/usr.bin/man/apropos/apropos.sh
==============================================================================
--- head/gnu/usr.bin/man/apropos/apropos.sh	Sun Jun 14 06:01:46 2009	(r194157)
+++ head/gnu/usr.bin/man/apropos/apropos.sh	Sun Jun 14 06:09:33 2009	(r194158)
@@ -18,7 +18,6 @@
 # $FreeBSD$
 
 
-PATH=/bin:/usr/bin:$PATH
 db=whatis	# name of whatis data base
 grepopt=''
 


More information about the svn-src-all mailing list