Resolves: #1942153, fixed unbound variable
This commit is contained in:
parent
98662a9c46
commit
8fcb51a814
@ -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: 25%{?dist}
|
Release: 26%{?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 May 04 2021 Than Ngo <than@redhat.com> - 2.21-26
|
||||||
|
- Resolves: #1942153, fixed unbound variable
|
||||||
|
|
||||||
* Mon Apr 26 2021 Than Ngo <than@redhat.com> - 2.21-25
|
* Mon Apr 26 2021 Than Ngo <than@redhat.com> - 2.21-25
|
||||||
- improved which2.sh
|
- improved which2.sh
|
||||||
|
|
||||||
|
@ -15,4 +15,5 @@ which ()
|
|||||||
(alias; eval ${which_declare}) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
|
(alias; eval ${which_declare}) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export which_declare
|
||||||
export ${which_opt} which
|
export ${which_opt} which
|
||||||
|
Loading…
Reference in New Issue
Block a user