ia64/xen-unstable

annotate docs/Doxyfilter @ 8335:c8378d3c3af8

Make sure to fork again after setsid() so that child cannot regain CTTY.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
author Anthony Liguori <anthony@codemonkey.ws>
date Mon Dec 12 15:11:13 2005 +0000 (2005-12-12)
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