Than Ngo
1be483011a
make which2.sh script more robust
2022-02-09 16:17:41 +01:00
Than Ngo
0811db734b
check shell correctly
2021-12-02 15:53:11 +01:00
Than Ngo
1784ef6a01
disable the --read-functions option in korn shells
2021-10-26 18:03:43 +02:00
Than Ngo
1fa13a9bff
- Fixed regression, use export instead alias
2021-10-15 11:34:21 +02:00
Than Ngo
a9da4a55f2
Resolves : #2009547 , which treats function contents as aliases when parsing ksh
2021-10-10 14:19:32 +02:00
Than Ngo
8fcb51a814
Resolves : #1942153 , fixed unbound variable
2021-05-04 09:26:33 +02:00
Than Ngo
98662a9c46
improved which2.sh
2021-04-26 14:02:33 +02:00
Than Ngo
9542d05e68
fixed regression if SHELL=zsh
2021-03-23 20:15:21 +01:00
Than Ngo
88199b8014
- fixed coverity issues
...
- improved which2.sh
2021-03-21 14:30:10 +01:00
Than Ngo
e3c52e8686
fixed syntax error testcase: a=b which ls
2021-03-18 17:47:02 +01:00
Than Ngo
f988253071
fixed 1817138 - Invalid syntax in /etc/profile.d/which2.sh:3: = not found
2020-03-25 18:07:24 +01:00
Than Ngo
d07598b6fa
set correct alias for mksh
2020-03-24 15:23:27 +01:00
Than Ngo
82a0a5968d
set correct alias for ksh
2019-11-05 15:15:08 +01:00
Jason Tibbitts
5f17e95f07
Fix sh syntax issue in which2.sh
...
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=1546221 .
I also included three small spec cleanups:
* Removed Group tag.
* Removed buildroot cleaning in %install.
* Removed needless %defattr in %files.
2018-02-16 11:02:23 -06:00
Than Ngo
7128ddbd68
fixed bz#1526500 - 'declare' not found under ksh
2018-01-31 15:55:28 +01:00
Than Ngo
5c082f8e2c
update to 2.21
2016-06-27 18:53:02 +02:00
Till Maas
0b0356f43c
Use alias instead of exported function for which to avoid bashism,
...
http://unix.stackexchange.com/questions/59360/#59431
2015-02-19 20:06:43 +01:00
Till Maas
3aa802cfd1
Check functions ( #1194044 )
...
- Use %license
2015-02-18 21:46:20 +01:00
Than Ngo
b24b69cdd7
fix permission which-2 scripts
2007-11-27 22:52:33 +00:00