build script: remove intermediate shell

This commit is contained in:
Motiejus Jakštys 2024-01-19 13:24:39 +02:00
parent 624657aacd
commit 280290baf7

View File

@ -11,5 +11,5 @@ find public \
-name '*.css' -or \
-name '*.map' -or \
-name '*.pdf' | \
awk '{print "zopfli "$0;print "brotli "$0}' | \
xargs -P$(nproc) -I{} $SHELL -c {}
tee >(xargs -n1 -P$(nproc) zopfli) | \
xargs -n1 -P$(nproc) brotli