pacman/scripts
Eli Schwartz f4da297de2 libmakepkg: fix regression in sending plain() output to stderr
In commit 882e707e40 we changed message
output to go to stdout by default, unless it was an error. The plain()
function doesn't *look* like an error function, but in practice it was
-- it's used to continue multiline messages, and all in-tree uses were
for warning/error.

This is a problem both because we're sending output to the wrong place,
and because in some cases, we were performing error logging from a
function which would otherwise return a value to be captured in a
variable using command substution.

Fix this and straighten out the API by providing two functions: one for
continuing msg output, and one which wraps this by sending output to
stderr, for continuing error output.

Change all callers to use the second function.

(cherry picked from commit bf458cced7)
2020-06-18 02:06:46 -07:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
library scripts/library: fix typo in README 2018-12-10 11:12:27 +10:00
po Pull latest translations from Transifex 2019-11-01 10:54:12 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
Makefile.am makepkg: do not count hard links multiple times when calculating pkg size 2019-10-30 10:03:46 +10:00
makepkg-template.pl.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
makepkg.sh.in libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
meson.build libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
pacman-db-upgrade.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
pacman-key.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
repo-add.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
wrapper.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00