summaryrefslogtreecommitdiff
path: root/system/bash/bash44-sensible-defaults.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-17 14:30:07 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-17 14:30:07 -0600
commit637e7dc17f2150463814027b0c59420eccecac5e (patch)
treef9082c3a6c5a8fce44b517c4606434a5f0b2cbea /system/bash/bash44-sensible-defaults.patch
parent60ba49128374e006d2b833b7f15d4eeb0735cccb (diff)
downloadpackages-637e7dc17f2150463814027b0c59420eccecac5e.tar.gz
packages-637e7dc17f2150463814027b0c59420eccecac5e.tar.bz2
packages-637e7dc17f2150463814027b0c59420eccecac5e.tar.xz
packages-637e7dc17f2150463814027b0c59420eccecac5e.zip
system/bash: move from aports
Diffstat (limited to 'system/bash/bash44-sensible-defaults.patch')
-rw-r--r--system/bash/bash44-sensible-defaults.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/system/bash/bash44-sensible-defaults.patch b/system/bash/bash44-sensible-defaults.patch
new file mode 100644
index 000000000..4d11afd2d
--- /dev/null
+++ b/system/bash/bash44-sensible-defaults.patch
@@ -0,0 +1,25 @@
+diff -Naur bash-4.4/config-top.h bash-4.4-adelieconf/config-top.h
+--- bash-4.4/config-top.h 2016-05-19 18:34:02.000000000 +0000
++++ bash-4.4-adelieconf/config-top.h 2018-02-06 01:07:33.736749439 +0000
+@@ -87,10 +87,10 @@
+ #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" */
++#define SYS_BASH_LOGOUT "/etc/bash/bash_logout"
+
+ /* Define this to make non-interactive shells begun with argv[0][0] == '-'
+ run the startup files when not in posix mode. */
+@@ -100,7 +100,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-capitalizing operators (~[~]) and the
+ `capcase' variable attribute (declare -c). */