ia64/xen-unstable

view docs/Doxyfilter @ 19836:d9890e67d2b7

tools: add SHAREDIR to buildmakevars2file

c/s 19818 dropped SHAREDIR from xen/util/path.py, which broke the "xm
new" command. This patch adds SHAREDIR back to the new
buildmakevars2file-closure function.

Signed-off-by: Ryan O'Connor <rjo@cs.ubc.ca>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:05:10 2009 +0100 (2009-06-25)
parents 06d84bf87159
children
line source
1 #!/bin/sh
3 #
4 # Doxyfilter <source-root> <filename>
5 #
7 dir=$(dirname "$0")
9 PYFILTER="$dir/pythfilter.py"
11 if [ "${2/.py/}" != "$2" ]
12 then
13 python "$PYFILTER" -r "$1" -f "$2"
14 else
15 cat "$2"
16 fi