From 667e4d4cd11b96f025e0944f9b0a51ba21326c81 Mon Sep 17 00:00:00 2001 From: fair Date: Tue, 7 Apr 1998 21:15:33 +0000 Subject: [PATCH] fix default PATH to be _PATH_DEFPATH --- bin/sh/var.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/sh/var.c b/bin/sh/var.c index d5987eb9e204..dbf9b943a317 100644 --- a/bin/sh/var.c +++ b/bin/sh/var.c @@ -1,4 +1,4 @@ -/* $NetBSD: var.c,v 1.20 1998/04/07 10:16:04 fair Exp $ */ +/* $NetBSD: var.c,v 1.21 1998/04/07 21:15:33 fair Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -41,12 +41,13 @@ #if 0 static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: var.c,v 1.20 1998/04/07 10:16:04 fair Exp $"); +__RCSID("$NetBSD: var.c,v 1.21 1998/04/07 21:15:33 fair Exp $"); #endif #endif /* not lint */ #include #include +#include /* * Shell variables. @@ -113,8 +114,7 @@ const struct varinit varinit[] = { NULL }, { &vmpath, VSTRFIXED|VTEXTFIXED|VUNSET, "MAILPATH=", NULL }, -/* this should be taken from as _PATH_DEFPATH XXX */ - { &vpath, VSTRFIXED|VTEXTFIXED, "PATH=/bin:/usr/bin", + { &vpath, VSTRFIXED|VTEXTFIXED, __CONCAT("PATH=",_PATH_DEFPATH), changepath }, /* * vps1 depends on uid