Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.

This commit is contained in:
ewan@linford.intra committed 2005-09-13 14:41:05 +01:00
1 parent b7d4a69f0c
commit 7073778b38
1 file changed
+7 -3
+7 -3
View File
@@ -1,12 +1,16 @@
#!/bin/sh
#
# Doxyfilter <source-root> <filename>
#
dir=$(dirname "$0")
PYFILTER="$dir/pythfilter.py"
if [ "${1/.py/}" != "$1" ]
if [ "${2/.py/}" != "$2" ]
then
python "$PYFILTER" -f "$1"
python "$PYFILTER" -r "$1" -f "$2"
else
cat "$1"
cat "$2"
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.