now causing cmake build to create h5_test/run_par_tests.sh from h5_test/run_par_tests.sh.in
@@ -1034,6 +1034,11 @@ IF(ENABLE_PARALLEL4 AND ENABLE_NETCDF_4)
FILE(COPY "${netCDF_BINARY_DIR}/tmp/run_par_test.sh"
DESTINATION ${netCDF_BINARY_DIR}/nc_test4
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ configure_file("${netCDF_SOURCE_DIR}/h5_test/run_par_tests.sh.in"
+ "${netCDF_BINARY_DIR}/tmp/run_par_tests.sh" @ONLY NEWLINE_STYLE LF)
+ FILE(COPY "${netCDF_BINARY_DIR}/tmp/run_par_tests.sh"
+ DESTINATION ${netCDF_BINARY_DIR}/h5_test
+ FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
ENDIF()
ENDIF()
