@ -10,6 +10,9 @@ then
exit 1
fi;
GREP="$GREP_OPTIONS"
export GREP_OPTIONS=""
LANG=$1
BOOKS_DIR="books/"
@ -21,3 +24,5 @@ else
echo "Error: $LANG is not a supported language"
exit 2
export GREP_OPTIONS="$GREP"
@ -5,6 +5,9 @@
#Description: Build all the pdf on www.patacrep.com, increase their
#version and commit/tag the result
#volume-3.sb
./utils/volume-3.sh
#english.sb
@ -12,9 +15,6 @@
#french.sb
./utils/langbooks.sh french
#increase version
RELEASE_TYPE=$1
VERSION=`grep "\"version\"" ./templates/patacrep.tmpl | sed -e 's/.*\"\([0-9]\+\)\.\([0-9]\+\)\.\?\([0-9]\+\)\?.*/export MAIN=\1\nexport MAJOR=\2\nexport MINOR=\3\n/'`