Skip to content

Commit 8726fd3

Browse files
committed
Fix 65dc919 . So Much for cleanliness. I hope this resolve the issues
Signed-off-by: Clement Foyer <[email protected]>
1 parent 65dc919 commit 8726fd3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ompi/mca/osc/monitoring/configure.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,14 @@ static inline int
6262
ompi_mca_osc_monitoring_set_template(ompi_osc_base_component_t *best_component,
6363
ompi_osc_base_module_t *module)
6464
{
65+
/* Sorry for the lack on indentation, but the portability won over the cleanliness */
6566
EOF
66-
printf ' ' >>$filename
6767
for comp in $components
6868
do
6969
echo "if ( 0 == strcmp(\"${comp}\", best_component->osc_version.mca_component_name) ) {" >>$filename
7070
echo " OSC_MONITORING_SET_TEMPLATE(${comp}, module);" >>$filename
71-
printf ' } else ' >>$filename
71+
echo " } else " >>$filename
7272
done
73-
echo '' >>$filename
7473
cat <<EOF >>$filename
7574
return OMPI_ERR_NOT_SUPPORTED;
7675
return OMPI_SUCCESS;

0 commit comments

Comments
 (0)