1 Star 0 Fork 39

杨超豪/bash

forked from src-openEuler/bash 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
enable-dot-logout-and-source-bashrc-through-ssh.patch 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
wangyuhang 提交于 2023-07-17 17:08 . bash: update to 5.2.15
From fa0abfba964c7eada368d5783f23b5b6894ad417 Mon Sep 17 00:00:00 2001
From: liujian <liujianliu.liu@huawei.com>
Date: Mon, 31 May 2021 22:58:30 +0800
Subject: [PATCH] enable-dot-logout-and-source-bashrc-through-ssh
---
config-top.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/config-top.h b/config-top.h
index db4ab6e..18a28b7 100644
--- a/config-top.h
+++ b/config-top.h
@@ -100,17 +100,17 @@
/* #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. */
-/* #define NON_INTERACTIVE_LOGIN_SHELLS */
+#define NON_INTERACTIVE_LOGIN_SHELLS
/* Define this if you want bash to try to check whether it's being run by
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). */
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yang-chaohao/bash.git
git@gitee.com:yang-chaohao/bash.git
yang-chaohao
bash
bash
master

搜索帮助