diff 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
line wrap: on
line diff
--- a/makeWeb.sh	Wed Feb 20 13:03:40 2013 +0000
+++ b/makeWeb.sh	Wed Feb 20 13:45:58 2013 +0000
@@ -29,7 +29,8 @@
 fi
 
 if [ -n "$2" ]; then
-    title="${title/-.*$//} ($2)"
+    # Remove any transposition tag from title.
+    title="${title/-*/} ($2)"
     subtitle="${subtitle} ($2)"
 fi