Commit d592f954 authored by jhodgdon's avatar jhodgdon

Issue #3074020 by jhodgdon: Update gitignore and add script to make zips of ebooks

parent 0b6461f0
#!/usr/bin/env bash
# This script takes the ebooks created by mkebooks.sh, and makes zip files.
# Usage: ./mkzips.sh version
# Example: ./mkzips.sh 8.x-7.1
# Exit immediately on uninitialized variable or error, and print each command.
set -uex
# Make output directory if it does not exist.
mkdir -p ../ebooks/zips
mkdir -p ../ebooks/zips/$1
cd ../ebooks
# Process each language. Add new languages to the languages.txt file.
for lang in `cat ../scripts/languages.txt`
do
tar cvzf zips/$1/ebooks-$lang-$1.tgz guide-$lang.*
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment