diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-11 14:05:10 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-20 23:30:50 -0500 |
commit | ccad1fd07ce4eb40a2fcf81cfb55d9b41fdcac48 (patch) | |
tree | 41b72c7747d8072e212ed58fd8b5c1e71c18d0b7 /man/environment.d.xml | |
parent | cb4499d0056a7c974d7d3695cc355c7e77edc938 (diff) |
Allow braceless variables to be expanded
(Only in environment.d files.)
We have only basic compatibility with shell syntax, but specifying variables
without using braces is probably more common, and I think a lot of people would
be surprised if this didn't work.
Diffstat (limited to 'man/environment.d.xml')
-rw-r--r-- | man/environment.d.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/environment.d.xml b/man/environment.d.xml index 4f3e03825a..2302992fa5 100644 --- a/man/environment.d.xml +++ b/man/environment.d.xml @@ -78,7 +78,7 @@ <literal><replaceable>KEY</replaceable>=<replaceable>VALUE</replaceable></literal> environment variable assignments, separated by newlines. The right hand side of these assignments may reference previously defined environment variables, using the <literal>${OTHER_KEY}</literal> - format. No other elements of shell syntax are supported. + and <literal>$OTHER_KEY</literal> format. No other elements of shell syntax are supported. </para> <refsect2> @@ -91,7 +91,7 @@ </para> <programlisting> FOO_DEBUG=force-software-gl,log-verbose - PATH=/opt/foo/bin:${PATH} + PATH=/opt/foo/bin:$PATH LD_LIBRARY_PATH=/opt/foo/lib XDG_DATA_DIRS=/opt/foo/share:${XDG_DATA_DIRS} </programlisting> |