ia64/xen-unstable
annotate 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>
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 |
rev | line source |
---|---|
ewan@6786 | 1 #!/bin/sh |
ewan@6786 | 2 |
ewan@6787 | 3 # |
ewan@6787 | 4 # Doxyfilter <source-root> <filename> |
ewan@6787 | 5 # |
ewan@6787 | 6 |
ewan@6786 | 7 dir=$(dirname "$0") |
ewan@6786 | 8 |
ewan@6786 | 9 PYFILTER="$dir/pythfilter.py" |
ewan@6786 | 10 |
ewan@6787 | 11 if [ "${2/.py/}" != "$2" ] |
ewan@6786 | 12 then |
ewan@6787 | 13 python "$PYFILTER" -r "$1" -f "$2" |
ewan@6786 | 14 else |
ewan@6787 | 15 cat "$2" |
ewan@6786 | 16 fi |