diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-10-31 18:12:33 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-11-03 12:56:40 +0100 |
commit | 3dfec574a36b6aacc2004df3e122dae9d17a4b0d (patch) | |
tree | 1df9023add9d6bf87bd7d324a00bbd2b4cdc010e /lib/libalpm/conflict.c | |
parent | 635a9c911c419932e4f27eeae349bb265011ca86 (diff) | |
download | pacman-3dfec574a36b6aacc2004df3e122dae9d17a4b0d.tar.gz pacman-3dfec574a36b6aacc2004df3e122dae9d17a4b0d.tar.xz |
makepkg: fix .PKGINFO/.BUILDINFO files swallowing status printing
The respective write_* functions are low-level and shouldn't be
outputting statuses; move these to the logic flow where they are used.
This ensures the functions can be used in the future wherever, and also
solves an issue where, as fallout from the message.sh retrofitting in
commit 882e707e40bbade0111cf3bdedbdac4d4b70453b, the statuses got
redirected to the actual files.
The resulting package was technically correct, except that it contained
useless lines which pacman ignored, and repo-add also ignored but at the
same time generated an error message:
/usr/bin/repo-add: line 335: declare: `=-> Generating .PKGINFO file...': not a valid identifier
Thirdparty package tools with stricter parsers may abort with errors,
and "repose" is known to do so.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/conflict.c')
0 files changed, 0 insertions, 0 deletions