~fginther/+junk/mbs-hooks-inline

21 by Francis Ginther
Adding B10runmakecheck and B20xsltproc to enable dee builds
1
#!/bin/sh
2
set -ex
3
4
#if we are building in chroot the RESULT_DIR is mounted to /results
5
if [ -z "$RESULT_DIR" ]; then
6
    RESULT_DIR=/results
7
else
8
    RESULT_DIR=""
9
fi
10
11
wget http://ubuntuone.com/13kWPb7aYzwupfbz5ogeRt -O gtester.xsl
12
find . -name '*test*.xml' -exec xsltproc -o '/tmp/{}' gtester.xsl '{}' \;
13
find /tmp -name '*test*.xml' -exec cp '{}' "$RESULT_DIR" \;