diff --git a/Modules/ThirdParty/GDAL/gdalTest.sh.in b/Modules/ThirdParty/GDAL/gdalTest.sh.in
index 0a481315ae59a52fe27766a9b7cc6da539cf4474..2c1d173e5ff0ba0d4e8891d4823ccf457a88694b 100644
--- a/Modules/ThirdParty/GDAL/gdalTest.sh.in
+++ b/Modules/ThirdParty/GDAL/gdalTest.sh.in
@@ -10,7 +10,7 @@ gdalConfig="$(which gdal-config)"
 ${gdalConfig} --version > ${tempFolder}/testgdal1.txt 
 
 #TEST 2 : dyn. symbols 
-if [ -z "${apple}"]
+if [ -z "${apple}" ]
 then
 nm -D --defined-only ${gdalLibLocation} | grep TIFFClose > ${tempFolder}/testgdal2.txt
 else