A bit more script polish

This commit is contained in:
jahorton 2019-09-19 08:53:29 +07:00
parent f5f992d986
commit 5bb90b2ca4

View file

@ -6,11 +6,10 @@
HELP_ROOT=keyman/Keyman/Keyman/WebPages
if [ -z $VERSION ]; then
VERSION="12.0"
VERSION="12.0" # Set manually here because alpha versions usually don't have
# matching help yet.
fi
echo $VERSION
# Clear previous help file downloads (if they exist)
if [ -d "$HELP_ROOT" ]; then
rm -r "$HELP_ROOT/*"
@ -33,5 +32,5 @@ wget --mirror \
--adjust-extension \
"help.keyman.com/products/iphone-and-ipad/$VERSION/index.php?embed=ios"
# Results in a flat-structured mirror of the iphone-and-ipad/11.0 folder,
# Results in a flat-structured mirror of the iphone-and-ipad/$VERSION folder,
# together with all needed resources within the 'site' folder.