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
Opened by Vorbote (vorbote) - Saturday, 20 February 2016, 20:22 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 24 February 2016, 03:00 GMT
|
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
Wednesday, 24 February 2016, 03:00 GMT
Reason for closing: No response
That install scriptlet will be going away soon with the advent of pacman hooks, anyway.