| Summary: | Incorrect access to undefined variables, /etc/profile.d/catalyst.csh | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | Lou Hafer <lou> |
| Component: | xorg-x11-drv-catalyst | Assignee: | Stewart Adam <s.adam> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kwizart, yves-rpmfusion |
| Priority: | P4 | ||
| Version: | 14 | ||
| Hardware: | All | ||
| OS: | GNU/Linux | ||
| namespace: | |||
| Attachments: | Working file, not subject to undefined variable error. | ||
This is still an issue with xorg-x11-drv-catalyst-11.9-1.fc14. The modified version that Lou attached to the original comment works quite nicely, it would be great if you guys could modify the package to use it. The problem is that with the current incorrect catalyst.csh, tcsh will stop at the error and never execute the user's profile. This is obviously a significant issue if you have a custom profile (and if you're using tcsh instead of bash, you're most likely not doing so by accident and hence are more than likely to have a custom profile), and thus you have no choice but to modify /etc/profile.d/catalyst.csh and replace it by a working version, each time the package is installed or updated. xorg-x11-drv-catalyst-11.9-2 is building for F-14/F-15 and a build for F-16 is coming soon. |
Created attachment 711 [details] Working file, not subject to undefined variable error. Looks to me like maybe catalyst.csh was a quick-and-dirty translation from catalyst.sh. You can't access undefined variables in csh hence the attempt to tack on the existing definition fails when there's no existing definition. Working file attached. Tried an obvious search using LIBGL_DRIVERS_PATH as the keyword and didn't turn up anything. Yum claims xorg-x11-drv-catalyst-11.7-1.fc14 is the responsible package.