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