target/i386: Fix bad patch application to translate.c
[qemu/ar7.git] / scripts / gtester-cat
blob061a952cad7cb39bdbdb99f485a4730fbe3b756d
1 #!/bin/sh
3 # Copyright IBM, Corp. 2012
5 # Authors:
6 # Anthony Liguori <aliguori@us.ibm.com>
8 # This work is licensed under the terms of the GNU GPLv2 or later.
9 # See the COPYING file in the top-level directory.
11 cat <<EOF
12 <?xml version="1.0"?>
13 <gtester>
14 <info>
15 <package>qemu</package>
16 <version>0.0</version>
17 <revision>rev</revision>
18 </info>
19 EOF
21 sed \
22 -e '/<?xml/d' \
23 -e '/^<gtester>$/d' \
24 -e '/<info>/,/<\/info>/d' \
25 -e '$b' \
26 -e '/^<\/gtester>$/d' "$@"