Project Aon Git Repositories
/
project-aon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Read from both STDIN and named files
[project-aon.git]
/
common
/
epub
/
build-epubs.sh
diff --git
a/common/epub/build-epubs.sh
b/common/epub/build-epubs.sh
index
7d79d94
..
1b7e406
100644
(file)
--- 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
#
#
# Build all the ePub files for Project Aon in a single run
#
-# (c) 2011 Javier Fernandez-Sanguino <jfs@computer.org>
+# (c) 2011
, 2018
Javier Fernandez-Sanguino <jfs@computer.org>
#
#
-# This script is provided with the same license as th
at
one
-# used in the
Aon Project
+# This script is provided with the same license as th
e
one
+# used in the
Project Aon.
set -e
CURDIR=`pwd`
set -e
CURDIR=`pwd`
-AONDIR="../../"
+[ -z "$AONDIR" ] && AONDIR="../../"
+[ -z "$LANGS" ] && LANGS="en es"
LOGDIR="$CURDIR/logs/"
[ ! -e "$LOGDIR" ] && mkdir $LOGDIR
LOGDIR="$CURDIR/logs/"
[ ! -e "$LOGDIR" ] && mkdir $LOGDIR
-LANGS="en es"
FONTDIR="../fontfiles/"
if [ ! -e "${AONDIR}${FONTDIR}" ] ; then
FONTDIR="../fontfiles/"
if [ ! -e "${AONDIR}${FONTDIR}" ] ; then