From: Simon Schubert Date: Thu, 5 Feb 2009 09:37:45 +0000 (+0100) Subject: define _PATH_DEFPATH to be reasonable, including sbins and /usr/pkg X-Git-Tag: v2.2.0~10^2~22 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/3d5a6e20d3671b50d17849dc130ac13c301265a3 define _PATH_DEFPATH to be reasonable, including sbins and /usr/pkg sh already had this path set as default, but only sh. Now everybody using _PATH_DEFPATH will get the right thing. --- diff --git a/include/paths.h b/include/paths.h index 37394e9160..36ad9b80be 100644 --- a/include/paths.h +++ b/include/paths.h @@ -42,7 +42,7 @@ #include /* dev paths */ /* Default search path. */ -#define _PATH_DEFPATH "/usr/bin:/bin" +#define _PATH_DEFPATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/bin:/usr/pkg/sbin" /* All standard utilities path. */ #define _PATH_STDPATH \ "/usr/bin:/bin:/usr/sbin:/sbin:"