We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65dc919 commit 8726fd3Copy full SHA for 8726fd3
ompi/mca/osc/monitoring/configure.m4
@@ -62,15 +62,14 @@ static inline int
62
ompi_mca_osc_monitoring_set_template(ompi_osc_base_component_t *best_component,
63
ompi_osc_base_module_t *module)
64
{
65
+ /* Sorry for the lack on indentation, but the portability won over the cleanliness */
66
EOF
- printf ' ' >>$filename
67
for comp in $components
68
do
69
echo "if ( 0 == strcmp(\"${comp}\", best_component->osc_version.mca_component_name) ) {" >>$filename
70
echo " OSC_MONITORING_SET_TEMPLATE(${comp}, module);" >>$filename
71
- printf ' } else ' >>$filename
+ echo " } else " >>$filename
72
done
73
- echo '' >>$filename
74
cat <<EOF >>$filename
75
return OMPI_ERR_NOT_SUPPORTED;
76
return OMPI_SUCCESS;
0 commit comments