1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-13 17:18:37 +02:00
nerd-fonts/bin/scripts
Fini Jastrow ef1f35368e patch-em-all: Display error messages if patching fails
[why]
All error stream outputs of `font-patcher` are suppressed, because they
are very noisy and usually are ignored.
But when the patching fails for some reason we do not know why.
Especially if that happens during CI runs.

[how]
Instead of dropping the stderr we store it in an envvar; and output it
to stdout if patching failed.

`printf` is needed because `echo` is lousy with multiple lines.

Redirection magic:
https://stackoverflow.com/questions/962255/how-to-store-standard-error-in-a-variable
https://stackoverflow.com/a/56577569

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-07 13:08:07 +02:00
..
Hack [ci] Bump release version 2022-09-07 08:05:53 +00:00
lib [ci] Bump release version 2022-09-07 08:05:53 +00:00
name_parser name-parser: Update test results 2022-08-22 10:53:05 +02:00
archive-font-patcher.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
archive-fonts.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
css-header.txt Adds notice that font path needs to be changed 2017-07-29 21:21:56 -04:00
docker-entrypoint.sh Merge branch 'master' into docker 2021-11-26 18:13:11 -08:00
fpfix.py add combined prefix to fpfix.py 2017-05-19 03:11:58 -05:00
generate-casks.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
generate-css.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
generate-font-image-previews.sh Updates script to use json data file instead of fc-list 2019-09-12 14:22:39 -07:00
generate-fontconfig.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
generate-glyph-info-from-set.py [ci] Bump release version 2022-09-07 08:05:53 +00:00
get-font-names-from-json.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
gotta-patch-em-all-font-patcher!.sh patch-em-all: Display error messages if patching fails 2022-09-07 13:08:07 +02:00
release.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
standardize-and-complete-readmes.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
test-fonts.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
test-powerlines.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
tests.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00
update-all-contributors-website.py Adds a very basic script to update all contributors section on the website 2020-04-06 01:02:15 -07:00
version-bump.sh [ci] Bump release version 2022-09-07 08:05:53 +00:00