summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-29 19:38:27 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-29 19:38:27 (GMT)
commitdff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7 (patch)
treef117fb90b9a2c271f9f87f8f65b3cf016cb899e0 /config
parent46c21c305aa10e72b64b66f937cf1d222b152356 (diff)
downloadhdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.zip
hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.tar.gz
hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.tar.bz2
Fix EXISTS test syntax
Diffstat (limited to 'config')
-rw-r--r--config/cmake_ext_mod/runTest.cmake2
-rw-r--r--config/toolchain/build32.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake
index 100de3e..e601653 100644
--- a/config/cmake_ext_mod/runTest.cmake
+++ b/config/cmake_ext_mod/runTest.cmake
@@ -204,7 +204,7 @@ endif ()
# compare output files to references unless this must be skipped
if (NOT TEST_SKIP_COMPARE)
- if (EXISTS ${TEST_FOLDER}/${TEST_REFERENCE})
+ if (EXISTS "${TEST_FOLDER}/${TEST_REFERENCE}")
if (WIN32 OR MINGW)
configure_file(${TEST_FOLDER}/${TEST_REFERENCE} ${TEST_FOLDER}/${TEST_REFERENCE}.tmp NEWLINE_STYLE CRLF)
file(RENAME ${TEST_FOLDER}/${TEST_REFERENCE}.tmp ${TEST_FOLDER}/${TEST_REFERENCE})
diff --git a/config/toolchain/build32.cmake b/config/toolchain/build32.cmake
index 3d9197d..d078956 100644
--- a/config/toolchain/build32.cmake
+++ b/config/toolchain/build32.cmake
@@ -11,7 +11,7 @@ else ()
set (LIB32 /usr/lib) # Fedora
- if (EXISTS /usr/lib32)
+ if (EXISTS "/usr/lib32")
set (LIB32 /usr/lib32) # Arch, Solus
endif ()
@@ -26,7 +26,7 @@ else ()
# on Fedora and Arch and similar, point pkgconfig at 32 bit .pc files. We have
# to include the regular system .pc files as well (at the end), because some
# are not always present in the 32 bit directory
- if (EXISTS ${LIB32}/pkgconfig)
+ if (EXISTS "${LIB32}/pkgconfig")
set (ENV{PKG_CONFIG_LIBDIR} ${LIB32}/pkgconfig:/usr/share/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig)
endif ()
# where is the target environment