bash: update to version 5.2.15
[feed/packages.git] / utils / bash / patches / 901-startup-files.patch
1 --- a/config-top.h
2 +++ b/config-top.h
3 @@ -97,20 +97,20 @@
4 #define DEFAULT_BASHRC "~/.bashrc"
5
6 /* System-wide .bashrc file for interactive shells. */
7 -/* #define SYS_BASHRC "/etc/bash.bashrc" */
8 +#define SYS_BASHRC "/etc/bash.bashrc"
9
10 /* System-wide .bash_logout for login shells. */
11 -/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
12 +#define SYS_BASH_LOGOUT "/etc/bash.bash_logout"
13
14 /* Define this to make non-interactive shells begun with argv[0][0] == '-'
15 run the startup files when not in posix mode. */
16 -/* #define NON_INTERACTIVE_LOGIN_SHELLS */
17 +#define NON_INTERACTIVE_LOGIN_SHELLS
18
19 /* Define this if you want bash to try to check whether it's being run by
20 sshd and source the .bashrc if so (like the rshd behavior). This checks
21 for the presence of SSH_CLIENT or SSH2_CLIENT in the initial environment,
22 which can be fooled under certain not-uncommon circumstances. */
23 -/* #define SSH_SOURCE_BASHRC */
24 +#define SSH_SOURCE_BASHRC
25
26 /* Define if you want the case-toggling operators (~[~]) and the
27 `capcase' variable attribute (declare -c). */