diff --git a/meta/files/zip_image.sh b/meta/files/zip_image.sh index c3e40578..f2e31a6a 100755 --- a/meta/files/zip_image.sh +++ b/meta/files/zip_image.sh @@ -332,6 +332,6 @@ find "$IMAGE_DIR" -type f \ xargs -0 -P "$THREADS" -I {} bash -c 'process_jpeg "$@"' _ {} # Конвертация в WebP -find "$COMP_DIR" -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \) \ +find "$IMAGE_DIR" -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \) \ -print0 | \ xargs -0 -P "$THREADS" -I {} bash -c 'process_webp "$@"' _ {} \ No newline at end of file