Skip to content

Commit

Permalink
Merge pull request #267 from pontus/environment_should_export
Browse files Browse the repository at this point in the history
Use export in %environment to ensure variables are inherited by subprocesses
  • Loading branch information
DrDaveD authored Mar 13, 2024
2 parents 3599aa6 + e01ea98 commit 173cfd4
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 173cfd4

Please sign in to comment.