From f56721107baf972aad83088903bb14428a055abf Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Tue, 3 Jun 2008 12:45:17 +0200 Subject: [PATCH] src/sanity/includes.test (INCDIR): Remove any trailing slash. --- ChangeLog | 4 ++++ src/sanity/includes.test | 4 ++++ 2 files changed, 8 insertions(+) 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