From e01ea98812255d05a2a4a515d093041c8173f023 Mon Sep 17 00:00:00 2001 From: Pontus Freyhult Date: Wed, 13 Mar 2024 12:49:40 +0100 Subject: [PATCH] Use export in %environment to ensure variables are inherited by subprocesses Signed-off-by: Pontus Freyhult --- definition_files.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/definition_files.rst b/definition_files.rst index bda82099..f2e1c159 100755 --- a/definition_files.rst +++ b/definition_files.rst @@ -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