summaryrefslogtreecommitdiff
path: root/iencode.sh
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-22 17:32:59 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-22 17:32:59 -0400
commit922245cf8843dd0b81d3b46aa0fa113de8a49e84 (patch)
tree33f679b1ce6bba894ef3821ad1e459b67bd2dc1e /iencode.sh
parent6f96b4f9b19e54fba9e392347959e0e1ee68d876 (diff)
downloadhtml5ks-922245cf8843dd0b81d3b46aa0fa113de8a49e84.tar.xz
html5ks-922245cf8843dd0b81d3b46aa0fa113de8a49e84.zip
work on build chain
Diffstat (limited to 'iencode.sh')
-rwxr-xr-xiencode.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/iencode.sh b/iencode.sh
index 8e2fa81..990d027 100755
--- a/iencode.sh
+++ b/iencode.sh
@@ -12,7 +12,7 @@ iencode() {
QUAL="$2"
export EXT QUAL CWEBP CWEBP_FLAGS
set -x
- find . -name \*."${EXT}" -print0 | xargs -0 -n 1 bash -c '
+ find . -name \*."${EXT}" -print0 | xargs -0 -P ${THREADS} -n 1 bash -c '
IN="$0"
OUT="${IN%.${EXT}}.webp"
${CWEBP} -q "${QUAL}" ${CWEBP_FLAGS} ${IN} -o ${OUT}