ia64/xen-unstable

view docs/Doxyfilter @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
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