CBL-Mariner/SPECS/bash/bash-5.1.patch

22 строки
875 B
Diff

diff -ruN a/config-top.h b/config-top.h
--- a/config-top.h 2021-11-22 17:56:18.201075654 -0800
+++ b/config-top.h 2021-11-22 17:56:56.328946350 -0800
@@ -91,7 +91,7 @@
#define DEFAULT_BASHRC "~/.bashrc"
/* System-wide .bashrc file for interactive shells. */
-/* #define SYS_BASHRC "/etc/bash.bashrc" */
+#define SYS_BASHRC "/etc/bash.bashrc"
/* System-wide .bash_logout for login shells. */
/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
@@ -104,7 +104,7 @@
sshd and source the .bashrc if so (like the rshd behavior). This checks
for the presence of SSH_CLIENT or SSH2_CLIENT in the initial environment,
which can be fooled under certain not-uncommon circumstances. */
-/* #define SSH_SOURCE_BASHRC */
+#define SSH_SOURCE_BASHRC
/* Define if you want the case-toggling operators (~[~]) and the
`capcase' variable attribute (declare -c). */