mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
docker: Include logfile in output
[why] Some valuable information might be in the logfile, that gets created only on demand. [how] Copy it over to the output if existing. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
1fccd8a63e
commit
7ebbc4e173
1 changed files with 7 additions and 3 deletions
|
@ -28,8 +28,12 @@ printf "Running with options:\n%s\nParallelism %s\n" "$args" "$PN"
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
find /in -type f \
|
find /in -type f \
|
||||||
\( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.woff' -o -iname '*.eot' -o -iname '*.ttc' \) \
|
\( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.woff' -o -iname '*.eot' -o -iname '*.ttc' \) \
|
||||||
-print0 \
|
-print0 \
|
||||||
| parallel --verbose --null "--jobs=${PN}" fontforge -script /nerd/font-patcher -out /out $args {}
|
| parallel --verbose --null "--jobs=${PN}" fontforge -script /nerd/font-patcher -out /out $args {}
|
||||||
|
|
||||||
|
if [ -f font-patcher-log.txt ]; then
|
||||||
|
cp -f font-patcher-log.txt /out
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue