]> git.pld-linux.org Git - packages/bash.git/blame - bash-paths.patch
Up to 5.2.26
[packages/bash.git] / bash-paths.patch
CommitLineData
2ead455b
JB
1--- bash-5.2/config-top.h.orig 2021-11-05 14:11:12.000000000 +0100
2+++ bash-5.2/config-top.h 2022-12-11 18:19:28.772442216 +0100
9ecd8d09 3@@ -63,7 +63,7 @@
8e696ddf 4 /* The default value of the PATH variable. */
5 #ifndef DEFAULT_PATH_VALUE
6 #define DEFAULT_PATH_VALUE \
0c16d439 7- "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
8e696ddf 8+ "/usr/local/bin:/bin:/usr/bin"
9 #endif
10
9ecd8d09
AM
11 /* If you want to unconditionally set a value for PATH in every restricted
12@@ -74,7 +74,7 @@
8e696ddf 13 the Posix.2 confstr () function, or CS_PATH define are not present. */
14 #ifndef STANDARD_UTILS_PATH
15 #define STANDARD_UTILS_PATH \
71ad8a74 16- "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
9ecd8d09 17+ "/usr/local/bin:/bin:/usr/bin"
8e696ddf 18 #endif
19
2ead455b
JB
20 /* The default path for enable -f */
21@@ -97,7 +97,7 @@
0507c857 22 #define DEFAULT_BASHRC "~/.bashrc"
ef4a66b2
AM
23
24 /* System-wide .bashrc file for interactive shells. */
25-/* #define SYS_BASHRC "/etc/bash.bashrc" */
26+#define SYS_BASHRC "/etc/bashrc"
27
28 /* System-wide .bash_logout for login shells. */
29 /* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
0507c857
MK
30diff -urNp -x '*.orig' bash-5.1.org/config.h.in bash-5.1/config.h.in
31--- bash-5.1.org/config.h.in 2020-05-19 19:54:22.000000000 +0200
32+++ bash-5.1/config.h.in 2021-03-21 13:21:08.467594925 +0100
33@@ -247,7 +247,7 @@
34
35 /* System paths */
36
37-#define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
38+#define DEFAULT_MAIL_DIRECTORY "/var/mail"
39
40 /* Characteristics of the system's header files and libraries that affect
41 the compilation environment. */
This page took 0.14236 seconds and 4 git commands to generate.