]> git.pld-linux.org Git - packages/bash.git/blob - bash-paths.patch
- up to 5.1.0
[packages/bash.git] / bash-paths.patch
1 diff -urbB bash-3.0.org/config.h.in bash-3.0/config.h.in
2 --- bash-3.0.org/config.h.in    2004-07-21 22:08:31.000000000 +0200
3 +++ bash-3.0/config.h.in        2005-10-08 19:35:26.593219000 +0200
4 @@ -197,7 +197,7 @@
5  
6  /* System paths */
7  
8 -#define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
9 +#define DEFAULT_MAIL_DIRECTORY "/var/mail"
10  
11  /* Characteristics of the system's header files and libraries that affect
12     the compilation environment. */
13 --- bash-5.0/config-top.h~      2019-03-21 14:06:54.000000000 +0100
14 +++ bash-5.0/config-top.h       2019-03-21 14:08:18.043987487 +0100
15 @@ -63,7 +63,7 @@
16  /* The default value of the PATH variable. */
17  #ifndef DEFAULT_PATH_VALUE
18  #define DEFAULT_PATH_VALUE \
19 -  "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
20 +  "/usr/local/bin:/bin:/usr/bin"
21  #endif
22  
23  /* If you want to unconditionally set a value for PATH in every restricted
24 @@ -74,7 +74,7 @@
25     the Posix.2 confstr () function, or CS_PATH define are not present. */
26  #ifndef STANDARD_UTILS_PATH
27  #define STANDARD_UTILS_PATH \
28 -  "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
29 +  "/usr/local/bin:/bin:/usr/bin"
30  #endif
31  
32  /* Default primary and secondary prompt strings. */
33 @@ -73,7 +73,7 @@
34  #define KSH_COMPATIBLE_SELECT
35  
36  /* System-wide .bashrc file for interactive shells. */
37 -/* #define SYS_BASHRC "/etc/bash.bashrc" */
38 +#define SYS_BASHRC "/etc/bashrc"
39  
40  /* System-wide .bash_logout for login shells. */
41  /* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
This page took 0.030603 seconds and 3 git commands to generate.