diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-25 22:02:47 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 03:35:34 +0100 |
commit | c8417f3386155028015f7f9fc43f4c64a60acf4c (patch) | |
tree | 3fbe11be27ad567e7cd8d1062f88f52c7b5df703 /lib/libalpm | |
parent | 5a5e712c749edb8bca448f119769d8bbe381c348 (diff) | |
download | pacman-c8417f3386155028015f7f9fc43f4c64a60acf4c.tar.gz pacman-c8417f3386155028015f7f9fc43f4c64a60acf4c.tar.xz |
makepkg: normalize whitespace in $pkgdesc when writing .PKGINFO
Specifically, we shouldn't allow newlines in the pkgdesc field, as
pacman will ignore the continuation and end the description prematurely
as written to the local DB. Normalize ALL whitespace, replacing it with
single whitespace characters.
Fixes strange errors as seen by FS#32852.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions