summaryrefslogtreecommitdiffstats
path: root/man/environment.d.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/environment.d.xml')
-rw-r--r--man/environment.d.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/environment.d.xml b/man/environment.d.xml
index 78b949160b..ad9db1666f 100644
--- a/man/environment.d.xml
+++ b/man/environment.d.xml
@@ -104,7 +104,7 @@
<programlisting>
FOO_DEBUG=force-software-gl,log-verbose
PATH=/opt/foo/bin:$PATH
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}/opt/foo/lib
+ LD_LIBRARY_PATH=/opt/foo/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
XDG_DATA_DIRS=/opt/foo/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
</programlisting>
</example>