Arch Linux

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!
Tasklist

FS#48276 - [emacs] install file doesn't register info files correctly.

Attached to Project: Arch Linux
Opened by Vorbote (vorbote) - Saturday, 20 February 2016, 20:22 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 24 February 2016, 03:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There is a bug in emacs.install that breaks the creation of an info dir file with the emacs info files included in it. TL;DR: change ${INFO_FILES[@] for "${INFO_FILES[@]".

Info dir generation uses an array of file names and then uses it without double-quoting the array. If the array is not enclosed in double-quotes. it yields a very long and useless string instead of a list of quoted strings. As per "(bash.info.gz)Shell Parameter Expansion":

${!NAME[@]}
${!NAME[*]}
If NAME is an array variable, expands to the list of array indices
(keys) assigned in NAME. If NAME is not an array, expands to 0 if
NAME is set and null otherwise. When `@' is used and the
expansion appears within double quotes, each key expands to a
separate word.

Been there, done that. :-)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 24 February 2016, 03:00 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Sunday, 21 February 2016, 01:32 GMT
Since there are no spaces in any of the info file names, I don't see how this would matter.

That install scriptlet will be going away soon with the advent of pacman hooks, anyway.
Comment by Doug Newgard (Scimmia) - Monday, 22 February 2016, 15:45 GMT
Ping?

Loading...