mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
17 lines
198 B
Bash
17 lines
198 B
Bash
#!/bin/sh
|
|
|
|
#
|
|
# Doxyfilter <source-root> <filename>
|
|
#
|
|
|
|
dir=$(dirname "$0")
|
|
|
|
PYFILTER="$dir/pythfilter.py"
|
|
|
|
if [ "${2/.py/}" != "$2" ]
|
|
then
|
|
python "$PYFILTER" -r "$1" -f "$2"
|
|
else
|
|
cat "$2"
|
|
fi
|