diff --git a/tests/bufr_filter.sh b/tests/bufr_filter.sh index bc94dc22e..d5b2197de 100755 --- a/tests/bufr_filter.sh +++ b/tests/bufr_filter.sh @@ -45,6 +45,7 @@ bufr_files=`cat bufr_data_files.txt` for f in ${bufr_files} ; do echo "file: $f" >> $fLog ${tools_dir}codes_bufr_filter $fRules $f >> $fLog + ${tools_dir}bufr_filter $fRules $f >> $fLog # See ECC-205 done #----------------------------------------------------------- diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index cace3c54f..3d05aac2e 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -87,8 +87,11 @@ install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/bufr_compare_dir WORLD_EXECUTE WORLD_READ ) - # bufr_filter script (See ECC-205) +execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different + ${PROJECT_SOURCE_DIR}/tools/bufr_filter + ${CMAKE_BINARY_DIR}/bin/ ) + install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/bufr_filter DESTINATION ${INSTALL_BIN_DIR} PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ