From eb38b7dd10ec64f0dcf634a660e27507c15d1041 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Mon, 30 Jun 2014 10:01:51 +0100 Subject: [PATCH] Fix last changed item on web pages for transposed instruments. --- makeWeb.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/makeWeb.sh b/makeWeb.sh index 8409945..01759e7 100755 --- a/makeWeb.sh +++ b/makeWeb.sh @@ -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