If more than one match is written, then DUNE_CHECK_MODULES will return several matches, which becomes a syntax error on the resulting command- line. Thus, check if there is a match before writing anything.
If more than one match is written, then DUNE_CHECK_MODULES will return several matches, which becomes a syntax error on the resulting command- line. Thus, check if there is a match before writing anything.