Bug 664699
| Summary: | xorg-x11-fonts-update-dirs is not a /bin/sh script | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ralf Corsepius <rc040203> |
| Component: | xorg-x11-font-utils | Assignee: | Matěj Cepl <mcepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | fonts-bugs, mcepl, xgl-maint |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | xorg-x11-font-utils-7.4-4.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-25 00:25:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ralf Corsepius
2010-12-21 12:03:19 UTC
What do you think about the patch in attachment 469993 [details] ?
(In reply to comment #1) > What do you think about the patch in attachment 469993 [details] ? OK, that's the classic subshell pushd/popd approach - I don't any reason why it shouldn't work. It's advantage is it being usable should once a loop be introduced around the pushd/popd, it's downside it the subshell having its price. An alternative would be the "save pwd" approach. sav_pwd=`pwd` cd <somewhere> do-something cd ${sav_pwd} This would avoid the subshell and therefore is somewhat less expensive, but it would not be suitable for "loops". AFAIS, ATM the latter alternative would suffice. Urgh, this was badly phrased, I was referring to "recursive loops", not "flat loops". xorg-x11-font-utils-7.4-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/xorg-x11-font-utils-7.4-4.fc14 xorg-x11-font-utils-7.4-4.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update xorg-x11-font-utils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/xorg-x11-font-utils-7.4-4.fc14 xorg-x11-font-utils-7.4-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |