From 922245cf8843dd0b81d3b46aa0fa113de8a49e84 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Thu, 22 Aug 2013 17:32:59 -0400 Subject: work on build chain --- iencode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iencode.sh') 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} -- cgit v1.2.3-54-g00ecf