View | Details | Raw Unified | Return to bug 217451
Collapse All | Expand All

(-)shells/bash/Makefile (+3 lines)
Lines 65-70 CONFIGURE_ARGS+= --disable-static-link Link Here
65
# "enable -f". (Plugins are not supported for bash-static.)
65
# "enable -f". (Plugins are not supported for bash-static.)
66
CFLAGS+=		-Wl,-export-dynamic
66
CFLAGS+=		-Wl,-export-dynamic
67
.endif
67
.endif
68
STANDARD_PATH=		/sbin:/bin:/usr/sbin:/usr/bin
69
CPPFLAGS+=		-DDEFAULT_PATH_VALUE='\"${STANDARD_PATH}:${LOCALBASE}/sbin:${LOCALBASE}/bin\"' \
70
			-DSTANDARD_UTILS_PATH='\"${STANDARD_PATH}\"'
68
71
69
post-patch:
72
post-patch:
70
# Ensure y.tab.c is regenerated
73
# Ensure y.tab.c is regenerated
(-)shells/bash/files/patch-config-top.h (-14 / +1 lines)
Lines 1-19 Link Here
1
--- config-top.h.orig	2016-05-19 18:34:02 UTC
1
--- config-top.h.orig	2016-05-19 18:34:02 UTC
2
+++ config-top.h
2
+++ config-top.h
3
@@ -63,18 +63,18 @@
3
@@ -74,7 +74,7 @@
4
 /* The default value of the PATH variable. */
5
 #ifndef DEFAULT_PATH_VALUE
6
 #define DEFAULT_PATH_VALUE \
7
-  "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
8
+  "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin"
9
 #endif
10
 
11
 /* The value for PATH when invoking `command -p'.  This is only used when
12
    the Posix.2 confstr () function, or CS_PATH define are not present. */
13
 #ifndef STANDARD_UTILS_PATH
14
 #define STANDARD_UTILS_PATH \
15
-  "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
16
+  "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games"
17
 #endif
4
 #endif
18
 
5
 
19
 /* Default primary and secondary prompt strings. */
6
 /* Default primary and secondary prompt strings. */

Return to bug 217451