Bug 1546221
| Summary: | /etc/profile.d/which2.sh invalid sh syntax | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jason Tibbitts <j> |
| Component: | which | Assignee: | Than Ngo <than> |
| Status: | CLOSED RAWHIDE | QA Contact: | Jason Tibbitts <j> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | mathieu-acct, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-16 17:06:27 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
Jason Tibbitts
2018-02-16 16:27:12 UTC
Since the fix was trivial, I went ahead and fixed this in rawhide. I also committed three very minor specfile cleanups; I hope that is OK. I removed Group:, the buildroot cleaning in %install and the needless %defattr in %files. Technically the %attr bit in %files is also unneeded (confirmed with rpmdiff) but I left it in. If you're unhappy with these changes, please feel free to revert them. I just thought I would save you the time. Hello, It's broken again in F32 Beta with rpm version which-2.21-17.fc32.x86_64: /etc/profile.d/which2.sh:3: = not found And indeed, line 3 is: if [ "$0" == "ksh" -o "$0" == "-ksh" ] ; then Cheers, Mathieu I opened BZ#1817138 for it... |