Browse Source

doc/doxygen/dev/starpu_check_undocumented.sh: fix directory location

Nathalie Furmento 12 years ago
parent
commit
fbbbc06e0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/doxygen/dev/starpu_check_undocumented.sh

+ 1 - 1
doc/doxygen/dev/starpu_check_undocumented.sh

@@ -60,7 +60,7 @@ if [ "$1" == "--enum" ] || [ "$1" == "" ] ; then
     starpu_enums=$(grep "enum starpu" $STARPU_H_FILES | grep -v "[;|,|(|)]" | awk '{print $2}')
     sc_enums=$(grep "enum starpu" $SC_H_FILES | grep -v "[;|,|(|)]" | awk '{print $2}')
     for enum in $starpu_enums $sc_enums ; do
-	x=$(grep -F "\\enum $enum" chapters/api/*.doxy)
+	x=$(grep -F "\\enum $enum" $dirname/../chapters/api/*.doxy)
 	if test "$x" == "" ; then
 	    echo "enum ${redcolor}${enum}${stcolor} is not (or incorrectly) documented"
 	fi