disable the --read-functions option in korn shells

This commit is contained in:
Than Ngo 2021-10-26 18:03:43 +02:00
parent 1fa13a9bff
commit 1784ef6a01
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: Displays where a particular program in your path is located Summary: Displays where a particular program in your path is located
Name: which Name: which
Version: 2.21 Version: 2.21
Release: 29%{?dist} Release: 30%{?dist}
License: GPLv3 License: GPLv3
Source0: http://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.gz Source0: http://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.gz
Source1: which2.sh Source1: which2.sh
@ -41,6 +41,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%{_mandir}/man1/which.1* %{_mandir}/man1/which.1*
%changelog %changelog
* Tue Oct 26 2021 Than Ngo <than@redhat.com> - 2.21-30
- disable the --read-functions option in korn shells
* Fri Oct 15 2021 Than Ngo <than@redhat.com> - 2.21-29 * Fri Oct 15 2021 Than Ngo <than@redhat.com> - 2.21-29
- Fixed regression, use export instead alias - Fixed regression, use export instead alias

View File

@ -3,7 +3,7 @@
case "$(cat /proc/$$/comm)" in case "$(cat /proc/$$/comm)" in
ksh|mksh) ksh|mksh)
which_declare="typeset -fS" which_declare=""
which_opt="" which_opt=""
;; ;;
zsh) zsh)