]> git.pld-linux.org Git - packages/bash.git/blob - bash-paths.patch
- rediffed
[packages/bash.git] / bash-paths.patch
1 diff -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
4 @@ -63,7 +63,7 @@
5  /* The default value of the PATH variable. */
6  #ifndef DEFAULT_PATH_VALUE
7  #define DEFAULT_PATH_VALUE \
8 -  "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
9 +  "/usr/local/bin:/bin:/usr/bin"
10  #endif
11  
12  /* If you want to unconditionally set a value for PATH in every restricted
13 @@ -74,7 +74,7 @@
14     the Posix.2 confstr () function, or CS_PATH define are not present. */
15  #ifndef STANDARD_UTILS_PATH
16  #define STANDARD_UTILS_PATH \
17 -  "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
18 +  "/usr/local/bin:/bin:/usr/bin"
19  #endif
20  
21  /* Default primary and secondary prompt strings. */
22 @@ -91,7 +91,7 @@
23  #define DEFAULT_BASHRC "~/.bashrc"
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" */
31 diff -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.040438 seconds and 3 git commands to generate.