commit d20276b6f2f37e349a8929b4e60a6111da19de35
parent 6cccd7bc3b9ff1440e2e02bcdaff8bf6dcfb25d8
Author: tjg <tjg>
Date: Thu, 14 Oct 1999 10:36:56 +0000
Portability: add /usr/bsd to default default path.
Diffstat:
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/AUTHORS b/AUTHORS
@@ -29,7 +29,8 @@ version of rc presented here differs in some respects.
Tim would like to thank these people for their contributions since he
took over maintenance of rc. Aharon Robbins, Arvid Requate, Bengt
Kleberg, Brynjulv Hauksson, Byron Rakitzis, Chris Siebenmann, Dale
-Scheetz, David Swasey, Donn Cave, Gerry Tomlinson, Gert-Jan Vons, Ian
-Lance Taylor, Jeremy Fitzhardinge, Marc Moorcroft, Mark K Gardner,
-Raymond Venneker, Rich $alz, Rob Savoye, Scott Schwartz, Stefan Dalibor,
-Steve Simon, Tom Culliton, Tom Tromey, Vincent Broman, Wolfgang Zekoll.
+Scheetz, David Luyer, David Swasey, Donn Cave, Gerry Tomlinson, Gert-Jan
+Vons, Ian Lance Taylor, Jeremy Fitzhardinge, Marc Moorcroft, Mark K
+Gardner, Raymond Venneker, Rich $alz, Rob Savoye, Scott Schwartz, Stefan
+Dalibor, Steve Simon, Tom Culliton, Tom Tromey, Vincent Broman, Wolfgang
+Zekoll.
diff --git a/ChangeLog b/ChangeLog
@@ -636,3 +636,6 @@ Changes since rc-1.5b2
it's virtually impossible for a child `rc' process to inherit `path'
(which I consider a bug, but it's not going to be fixed now), simply
don't export `path'.
+
+ Portability: add /usr/bsd to default default path.
+
+\ No newline at end of file
diff --git a/configure.ac b/configure.ac
@@ -118,7 +118,7 @@ AC_ARG_ENABLE(def-interp,
AC_ARG_ENABLE(def-path,
[ --enable-def-path=\"/usr/local/bin/\",\"/usr/bin\"
Default path [All of these that exist
- (/usr/local/bin /usr/bin /usr/ucb /bin .)]],
+ (/usr/local/bin /usr/bin /usr/bsd /usr/ucb /bin .)]],
[
case "$enableval" in
no|yes) ;;
@@ -130,7 +130,7 @@ AC_ARG_ENABLE(def-path,
case "$enable_def_path" in
yes) AC_CACHE_CHECK(extant directories for default path, rc_cv_def_path,[
rc_cv_def_path=''
- for i in /usr/local/bin /usr/bin /usr/ucb /bin .; do
+ for i in /usr/local/bin /usr/bin /usr/bsd /usr/ucb /bin .; do
if test -d $i; then
case "$rc_cv_def_path" in
'') rc_cv_def_path=\"$i\" ;;