Bug 1817138 - Invalid syntax in /etc/profile.d/which2.sh:3: = not found
Summary: Invalid syntax in /etc/profile.d/which2.sh:3: = not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: which
Version: 32
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-25 16:34 UTC by Mathieu Chouquet-Stringer
Modified: 2020-03-30 00:17 UTC (History)
1 user (show)

Fixed In Version: which-2.21-19.fc32
Clone Of:
Environment:
Last Closed: 2020-03-30 00:17:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.