Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24923 - [nvidia], [nvidia-utils] use better bash syntax in PKGBUILD
Attached to Project:
Arch Linux
Opened by Martin Kühne (mar77i) - Tuesday, 28 June 2011, 11:15 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 04 October 2011, 07:02 GMT
Opened by Martin Kühne (mar77i) - Tuesday, 28 June 2011, 11:15 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 04 October 2011, 07:02 GMT
|
DetailsDescription:
use better bash syntax in nvidia pkgbuilds. we know they work, but ... - clean up indents - use more quotes - loop on find correctly (the soname loop is still way too ugly!) - sed can take several commands delimited by semicolon - use [[ -e ]] to test if a symlink should be created |
This task depends upon
nvidia.patch
i see that you remove all quotes
Update: I seem to have a bad day. could be related to the way diff works, as well. nvm...
Patch 1: bashify/reindent the soname loop
Patch 2: quote and unify all lowercase variable expansions
Thanks for the pointer. Looked pretty good already, anyway. :)