ia64/xen-unstable

annotate docs/Doxyfilter @ 15805:8f1c807ace97

[ACM/XEND] Fix case where resource label file does not exist.

Fix the case where the resource label file does not exist but its
contents would be needed for access control evaluations.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author kfraser@localhost.localdomain
date Thu Aug 30 15:39:13 2007 +0100 (2007-08-30)
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