summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts/summarizeBaseline.sh
blob: 6aeddf70cfd80191ba5e42aa86f9cb219fc0209f (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ $# -ne 1 ]; then
    echo "You need to pass in one argument: the file path to Baseline.xml which you want the summary for."
    exit 1
fi

# We run dirname, so we can locate summarizeBaseline.xsl regardless of our
# working directory.
xmlpatterns `dirname $0`/summarizeBaseline.xsl $1