Mercurial > dottes
comparison makeWeb.sh @ 217:a8a46fd79d5c
Fix up problems in Horn in F transposition.
1. Ensure makeWeb.sh gets its second parameter quoted, to allow for spaces in it.
2. Don't forget to copy the component text items into the horn dir.
3. Fix removing transposition tag from page title.
author | Jim Hague <jim.hague@laicatc.com> |
---|---|
date | Wed, 20 Feb 2013 13:45:58 +0000 |
parents | 9502f4883006 |
children | 0ef955669a9a |
comparison
equal
deleted
inserted
replaced
216:64b84dea3337 | 217:a8a46fd79d5c |
---|---|
27 if [ -r $bookedir/intro.txt ]; then | 27 if [ -r $bookedir/intro.txt ]; then |
28 intro=`cat $bookedir/intro.txt` | 28 intro=`cat $bookedir/intro.txt` |
29 fi | 29 fi |
30 | 30 |
31 if [ -n "$2" ]; then | 31 if [ -n "$2" ]; then |
32 title="${title/-.*$//} ($2)" | 32 # Remove any transposition tag from title. |
33 title="${title/-*/} ($2)" | |
33 subtitle="${subtitle} ($2)" | 34 subtitle="${subtitle} ($2)" |
34 fi | 35 fi |
35 | 36 |
36 mkdir -p $webdir | 37 mkdir -p $webdir |
37 | 38 |