diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 19:38:27 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 19:38:27 (GMT) |
commit | dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7 (patch) | |
tree | f117fb90b9a2c271f9f87f8f65b3cf016cb899e0 /config/cmake_ext_mod | |
parent | 46c21c305aa10e72b64b66f937cf1d222b152356 (diff) | |
download | hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.zip hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.tar.gz hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.tar.bz2 |
Fix EXISTS test syntax
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r-- | config/cmake_ext_mod/runTest.cmake | 2 |
1 files changed, 1 insertions, 1 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}) |