FS#23524 - [makepkg] presence of backslash in optdepends array produce error
Attached to Project:
Pacman
Opened by Eric Belanger (Snowman) - Wednesday, 30 March 2011, 23:57 GMT
Last edited by Dan McGee (toofishes) - Saturday, 09 April 2011, 22:22 GMT
Opened by Eric Belanger (Snowman) - Wednesday, 30 March 2011, 23:57 GMT
Last edited by Dan McGee (toofishes) - Saturday, 09 April 2011, 22:22 GMT
|
Details
If you have backslash in the optdepends array to escape the
newline like so:
optdepends=('ghostscript: for Ghostscript support' \ 'openexr: for OpenEXR support' \ 'libwmf: for WMF support' \ 'librsvg: for SVG support' \ 'libxml2: for XML support' \ 'jasper: for JPEG-2000 support' \ 'libpng: for PNG support') then makepkg abort with the following error: $ makepkg ==> ERROR: Invalid syntax for optdepend : ' openexr: for OpenEXR support' ==> ERROR: Invalid syntax for optdepend : ' libwmf: for WMF support' ==> ERROR: Invalid syntax for optdepend : ' librsvg: for SVG support' ==> ERROR: Invalid syntax for optdepend : ' libxml2: for XML support' ==> ERROR: Invalid syntax for optdepend : ' jasper: for JPEG-2000 support' ==> ERROR: Invalid syntax for optdepend : ' libpng: for PNG support' I suppose it's a parsing issue. |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 09 April 2011, 22:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 37df0d4f4fb042f8fb
Saturday, 09 April 2011, 22:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 37df0d4f4fb042f8fb
-e 's/\\$//'
to the end of the sed expression...