Fix last changed item on web pages for transposed instruments.

This commit is contained in:
Jim Hague 2014-06-30 10:01:51 +01:00
parent cba683ea3e
commit eb38b7dd10
1 changed files with 4 additions and 3 deletions

View File

@ -52,13 +52,14 @@ fi
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 @@ find $bookedir -name "*.abc" | sort |
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