mirror of
https://github.com/systemd/systemd.git
synced 2025-02-22 09:57:34 +03:00
man: fix LD_LIBRARY_PATH example in environment.d (#5929)
The example for LD_LIBRARY_PATH in the environment.d man page is wrong. When setting LD_LIBRARY_PATH, the new directory usually needs to be at the front so it overrides old directories. In the example, the colon delimiter is correctly prepended to the front, but the actual new path is erroneously appended to the end. This commit moves it to the front where it belongs.
This commit is contained in:
parent
61b2f1976c
commit
af92daebc5
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user