src/sanity/includes.test (INCDIR): Remove any trailing slash.
This commit is contained in:
parent
40dc725116
commit
f56721107b
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2008-06-03 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
|
* src/sanity/includes.test (INCDIR): Remove any trailing slash.
|
||||||
|
|
||||||
2008-06-03 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
2008-06-03 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
Install interfaces' headers in the spot/iface/ directory, not
|
Install interfaces' headers in the spot/iface/ directory, not
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Check that each header is self contained and generates no warning.
|
# Check that each header is self contained and generates no warning.
|
||||||
|
|
@ -6,6 +7,9 @@ set -e
|
||||||
|
|
||||||
rm -f failures
|
rm -f failures
|
||||||
|
|
||||||
|
# Remove any trailing slash
|
||||||
|
INCDIR=${INCDIR%/}
|
||||||
|
|
||||||
for file in `find "$INCDIR" \( -name "${1-*}.hh" \
|
for file in `find "$INCDIR" \( -name "${1-*}.hh" \
|
||||||
-o -name "${1-*}.hxx" \) \
|
-o -name "${1-*}.hxx" \) \
|
||||||
-a -type f -a -print | sed "s,$INCDIR/,,g"`; do
|
-a -type f -a -print | sed "s,$INCDIR/,,g"`; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue