X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=common%2Fepub%2Fbuild-epubs.sh;h=1b7e406963bb256ea676026f8ff60f4503865c4d;hp=7d79d948d59ba6f25bd2d338e66d4b805d53728a;hb=341414d4c5daa5ce3be930bd8e215fc8613a5f05;hpb=ece62f5c53c341b8d03413932647379b132b3f63 diff --git a/common/epub/build-epubs.sh b/common/epub/build-epubs.sh index 7d79d94..1b7e406 100644 --- a/common/epub/build-epubs.sh +++ b/common/epub/build-epubs.sh @@ -2,18 +2,18 @@ # # Build all the ePub files for Project Aon in a single run # -# (c) 2011 Javier Fernandez-Sanguino +# (c) 2011, 2018 Javier Fernandez-Sanguino # -# This script is provided with the same license as that one -# used in the Aon Project +# This script is provided with the same license as the one +# used in the Project Aon. set -e CURDIR=`pwd` -AONDIR="../../" +[ -z "$AONDIR" ] && AONDIR="../../" +[ -z "$LANGS" ] && LANGS="en es" LOGDIR="$CURDIR/logs/" [ ! -e "$LOGDIR" ] && mkdir $LOGDIR -LANGS="en es" FONTDIR="../fontfiles/" if [ ! -e "${AONDIR}${FONTDIR}" ] ; then