Mercurial > dottes
changeset 504:4cc739fe13ab
Fix last changed item on web pages for transposed instruments.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Mon, 30 Jun 2014 10:01:51 +0100 |
parents | f724174fb1e9 |
children | b6e4f4d7665a |
files | makeWeb.sh |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/makeWeb.sh Tue Jun 17 15:19:20 2014 +0100 +++ b/makeWeb.sh Mon Jun 30 10:01:51 2014 +0100 @@ -52,13 +52,14 @@ dir=`pwd` +booke=$1 +masterbooke=$2 bookedir=$dir/$1 +masterbookedir=$dir/$2 webdir=$dir/web/$1 graphicsdir=$dir/graphics/$1 output=index.html tunelist=tunelist.html -booke=$1 -masterbooke=$2 title=$booke instrument=$3 abc2xml=$dir/abc2xml/abc2xml.py @@ -126,7 +127,7 @@ if [ -n "$credit" ]; then creditvisibility="yes" fi - lastchanged=`hg log --limit 1 --template "{date|shortdate}" $filename` + lastchanged=`hg log --limit 1 --template "{date|shortdate}" $masterbookedir/${name}.abc` key=`$dir/abcfield.py --field K $filename` fixkey $key key=$retval