summaryrefslogtreecommitdiffstats
path: root/modules/calvinscommentaries/bundle_and_install.sh
diff options
context:
space:
mode:
authorLuke S. <luke@motimail.com>2008-01-16 14:54:16 +0000
committerLuke S. <luke@motimail.com>2008-01-16 14:54:16 +0000
commitd7cbddc8e74cba95f43619100587b7701ca72b6b (patch)
tree7820d861819e748f394ca1345cb6b7aba7758fe3 /modules/calvinscommentaries/bundle_and_install.sh
parent4a1a811a591cede1e6f54e1804207522c9625d39 (diff)
downloadsword-tools-d7cbddc8e74cba95f43619100587b7701ca72b6b.tar.gz
calvinscommentaries --> calvincommentaries
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@137 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/calvinscommentaries/bundle_and_install.sh')
-rwxr-xr-xmodules/calvinscommentaries/bundle_and_install.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/calvinscommentaries/bundle_and_install.sh b/modules/calvinscommentaries/bundle_and_install.sh
index 9ec47b3..dd14549 100755
--- a/modules/calvinscommentaries/bundle_and_install.sh
+++ b/modules/calvinscommentaries/bundle_and_install.sh
@@ -8,13 +8,13 @@ CALCOMSOURCES="$HOME/christian/books/John Calvin/Commentaries/calcom_sources"
## Leave these to build in subdir 'build'
BUILDDIR="`pwd`/build"
-OSIS2MODOUTPUT="$BUILDDIR/modules/comments/zcom/calvinscommentaries"
+OSIS2MODOUTPUT="$BUILDDIR/modules/comments/zcom/calvincommentaries"
CONFDIR="$BUILDDIR/mods.d"
THISDIR=`pwd`
##################
-COMBINED="calvinscommentaries.versified.osis"
+COMBINED="calvincommentaries.versified.osis"
##############################################
@@ -34,12 +34,12 @@ function setup_dirs {
function combine {
echo "Running combine_calcom.py..."
- ./combine_calcom.py "$CALCOMSOURCES"/calcom??.xml > "$BUILDDIR/calvinscommentaries.thml" || exit 1
+ ./combine_calcom.py "$CALCOMSOURCES"/calcom??.xml > "$BUILDDIR/calvincommentaries.thml" || exit 1
}
function convert_to_osis {
echo "Converting to OSIS..."
- xsltproc --novalid "$SWORDTOOLS/thml2osis/xslt/thml2osis.xslt" "$BUILDDIR/calvinscommentaries.thml" > "$BUILDDIR/calvinscommentaries.osis" || exit 1
+ xsltproc --novalid "$SWORDTOOLS/thml2osis/xslt/thml2osis.xslt" "$BUILDDIR/calvincommentaries.thml" > "$BUILDDIR/calvincommentaries.osis" || exit 1
}
function reversify {
@@ -60,7 +60,7 @@ function reversify {
rm part*
- COUNT=$(csplit -f 'part' -b '%03d' calvinscommentaries.osis "/combine_calcom.py START/" '{*}' | nl | tail -n 1 | cut -c 1-7 )
+ COUNT=$(csplit -f 'part' -b '%03d' calvincommentaries.osis "/combine_calcom.py START/" '{*}' | nl | tail -n 1 | cut -c 1-7 )
# $COUNT now contains the number of parts we split into
@@ -136,18 +136,18 @@ function convert_to_mod {
function do_zip {
echo "Zipping..."
- cp "$THISDIR/calvinscommentaries.conf" "$CONFDIR"
+ cp "$THISDIR/calvincommentaries.conf" "$CONFDIR"
cd "$BUILDDIR"
- rm -f CalvinsCommentaries.zip
- zip -r CalvinsCommentaries.zip mods.d/ modules/
+ rm -f CalvinCommentaries.zip
+ zip -r CalvinCommentaries.zip mods.d/ modules/
}
function do_install {
echo "Installing..."
cd "$BUILDDIR"
- unzip -o -d $HOME/.sword CalvinsCommentaries.zip
+ unzip -o -d $HOME/.sword CalvinCommentaries.zip
}