del doesn't exist PATH dirs in bashrc

This commit is contained in:
wangyuhang 2024-11-22 16:35:28 +08:00
parent 7bbcf0339c
commit 00f8cb0395
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: bash Name: bash
Version: 5.2.15 Version: 5.2.15
Release: 13 Release: 14
Summary: It is the Bourne Again Shell Summary: It is the Bourne Again Shell
License: GPLv3 License: GPLv3
URL: https://www.gnu.org/software/bash URL: https://www.gnu.org/software/bash
@ -168,6 +168,9 @@ make check
%exclude %{_infodir}/dir %exclude %{_infodir}/dir
%changelog %changelog
* Fri Nov 22 2024 wangyuhang <wangyuhang27@huawei.com> - 5.2.15-14
- del doesn't exist PATH dirs in bashrc
* Wed Nov 20 2024 wangyuhang <wangyuhang27@huawei.com> -5.2.15-13 * Wed Nov 20 2024 wangyuhang <wangyuhang27@huawei.com> -5.2.15-13
- remove the log message for failing to open cmdline, - remove the log message for failing to open cmdline,
and ensure that the mayexec function does not modify the value of errno. and ensure that the mayexec function does not modify the value of errno.

View File

@ -2,5 +2,4 @@
[ -f /etc/bashrc ] && . /etc/bashrc [ -f /etc/bashrc ] && . /etc/bashrc
# User environment PATH # User environment PATH
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
export PATH export PATH