Skip to content

Commit 3c0aab7

Browse files
author
Nathan A. Wukie
committed
Issue jedbrown#36: Changed an 'echo' to 'printf' for portability and robustness.
1 parent 91f9617 commit 3c0aab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FindPETSc.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ if (petsc_conf_rules AND petsc_conf_variables AND NOT petsc_config_current)
156156
include ${petsc_conf_rules}
157157
include ${petsc_conf_variables}
158158
show :
159-
\t-@echo -n \${\${VARIABLE}}
159+
\t-@printf '%s' \${\${VARIABLE}}
160160
")
161161

162162
macro (PETSC_GET_VARIABLE name var)

0 commit comments

Comments
 (0)