pacman/scripts/libmakepkg
Eli Schwartz bf458cced7 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.
2020-06-11 10:54:54 +10:00
..
buildenv build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
executable libmakepkg: fix regression in sending plain() output to stderr 2020-06-11 10:54:54 +10:00
integrity libmakepkg: fix regression in sending plain() output to stderr 2020-06-11 10:54:54 +10:00
lint_config build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
lint_package build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
lint_pkgbuild build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
source libmakepkg: fix regression in sending plain() output to stderr 2020-06-11 10:54:54 +10:00
tidy libmakepkg/strip: don't re-add the same debug source multiple times 2020-06-01 10:59:08 +10:00
util libmakepkg: fix regression in sending plain() output to stderr 2020-06-11 10:54:54 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
executable.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
integrity.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
lint_config.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
lint_package.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
lint_pkgbuild.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
srcinfo.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
tidy.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
util.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00