Skip to content

Commit ea1e432

Browse files
committed
Document move to m4_ prefix
1 parent 19b2877 commit ea1e432

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/conda/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ We restrict our M4 usage to:
172172
* `m4_include()`: does simple file insertion
173173
* `m4_ifelse()`: does conditional substitution +
174174
Syntax: `m4_ifelse(VALUE1, VALUE2, TEXT1)` ⇒ _if (VALUE1 == VALUE2) then insert TEXT1_
175-
* `getenv()`: substitutes in an environment variable value
175+
* `m4_getenv()`: substitutes in an environment variable value
176176

177-
See `dev/conda/common.m4` for `getenv()` - this is a different script from the `common.m4' for the Turbine submit scripts due to newline requirements.
177+
See `dev/conda/common.m4` for `m4_getenv()` - this is a different script from the `common.m4' for the Turbine submit scripts due to Spack packaging requirements.
178178

179179
Example:
180180
----
181-
m4_ifelse(getenv(ENABLE_R),`1',m4_include(pkgs-R.yaml))
181+
m4_ifelse(m4_getenv(ENABLE_R),`1',m4_include(pkgs-R.yaml))
182182
----
183183
means: if `$ENABLE_R == 1`, include file `pkgs-R.yaml` here.
184184

0 commit comments

Comments
 (0)