SHA256
1
0
forked from pool/icu
icu/sanitize_docs.sh

16 lines
278 B
Bash
Raw Normal View History

#!/bin/sh -ex
ver="51.2"
name="icu4c-51_2-docs.zip"
# Put docs in a separate directory
wget -c "http://download.icu-project.org/files/icu4c/$ver/$name"
rm -Rf html
mkdir html
pushd html
unzip "../$name"
popd
tar --use=xz -cvf "${name%.zip}.tar.xz" html
rm "$name"
rm -Rf html