diff --git a/ChangeLog b/ChangeLog index 72fa3b075..9814a1edc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-06-03 Alexandre Duret-Lutz + + * src/sanity/includes.test (INCDIR): Remove any trailing slash. + 2008-06-03 Alexandre Duret-Lutz Install interfaces' headers in the spot/iface/ directory, not diff --git a/src/sanity/includes.test b/src/sanity/includes.test index 94caac486..cb496e01b 100755 --- a/src/sanity/includes.test +++ b/src/sanity/includes.test @@ -1,3 +1,4 @@ + #! /bin/sh # Check that each header is self contained and generates no warning. @@ -6,6 +7,9 @@ set -e rm -f failures +# Remove any trailing slash +INCDIR=${INCDIR%/} + for file in `find "$INCDIR" \( -name "${1-*}.hh" \ -o -name "${1-*}.hxx" \) \ -a -type f -a -print | sed "s,$INCDIR/,,g"`; do