pacman/scripts/libmakepkg/source
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
..
bzr.sh.in libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
file.sh.in libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
git.sh.in libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
hg.sh.in libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
local.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
svn.sh.in libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00