Skip to content

Commit

Permalink
Merge pull request #270 from pontus/environment_should_export_1.3
Browse files Browse the repository at this point in the history
Use export in %environment to ensure variables are inherited by subprocesses (1.3)
  • Loading branch information
DrDaveD authored Mar 14, 2024
2 parents 85652d8 + 7b5f96e commit 7ac608e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion definition_files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ the following syntax:
.. code:: {command}

%environment
FOO=${FOO:-'default'}
export FOO=${FOO:-'default'}

The value of ``FOO`` in the container will take the value of ``FOO`` on
the host, or ``default`` if ``FOO`` is not set on the host or if
Expand Down

0 comments on commit 7ac608e

Please sign in to comment.