Bug 1817138

Summary: Invalid syntax in /etc/profile.d/which2.sh:3: = not found
Product: [Fedora] Fedora Reporter: Mathieu Chouquet-Stringer <mathieu-acct>
Component: whichAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 32CC: than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: which-2.21-19.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-30 00:17:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mathieu Chouquet-Stringer 2020-03-25 16:34:53 UTC
Description of problem:
The syntax used in /etc/profile.d/which2.sh is invalid in zsh. This bug is similar to an old one: BZ#1546221


Version-Release number of selected component (if applicable):
2.21-17.fc32.x86_64

How reproducible:
Always

Steps to Reproduce:
1. start a new zsh shell

Actual results:
etc/profile.d/which2.sh:3: = not found

Expected results:
No error

Additional info:

Comment 1 Than Ngo 2020-03-25 17:08:35 UTC
it's fixed in which-2.21-19

Comment 2 Fedora Update System 2020-03-25 17:15:14 UTC
FEDORA-2020-97271c74d7 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-97271c74d7

Comment 3 Mathieu Chouquet-Stringer 2020-03-25 17:16:05 UTC
Wow, that was some serious quick turn around, thank you!

commit f988253071708f84212fe66479988b3b18c48425 (HEAD -> master, origin/master, origin/f32, origin/HEAD, f32)
Author: Than Ngo
Date:   Wed Mar 25 18:07:24 2020 +0100

    fixed 1817138 - Invalid syntax in /etc/profile.d/which2.sh:3: = not found

Comment 4 Fedora Update System 2020-03-25 21:07:31 UTC
FEDORA-2020-97271c74d7 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-97271c74d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-97271c74d7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-03-30 00:17:00 UTC
FEDORA-2020-97271c74d7 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.