summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2018-10-26 19:00:26 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2018-10-26 19:00:26 +0200
commit6cd55492062df2232594a97d8c40680dfc8f7945 (patch)
treef29689e50e458b498b1ee844b6516a213f815137
parentcd42ee39a942585a35c71818145dceecc061f15b (diff)
downloadglibmm-6cd55492062df2232594a97d8c40680dfc8f7945.tar.gz
tools/test_scripts/testheaders.sh: Fix a directory test
-rwxr-xr-xtools/test_scripts/testheaders.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test_scripts/testheaders.sh b/tools/test_scripts/testheaders.sh
index 150ada4e..c66faa21 100755
--- a/tools/test_scripts/testheaders.sh
+++ b/tools/test_scripts/testheaders.sh
@@ -53,7 +53,7 @@ shift
# Search for more directories to include in CFLAGS.
for i in "$@"
do
- if [ -d "$1" ]
+ if [ -d "$i" ]
then
idirs+=" -I$i"
fi