mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
man/50-xdg-data-dirs: add quotes as suggested by shellcheck
(cherry picked from commit aa45911b793255bec34fe8c128c80bda1482cc14)
This commit is contained in:
parent
3dabd7f816
commit
64e1ee80ea
@ -5,8 +5,8 @@ XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}"
|
||||
|
||||
# add a directory if it exists
|
||||
if [[ -d /opt/foo/share ]]; then
|
||||
XDG_DATA_DIRS=/opt/foo/share:${XDG_DATA_DIRS}
|
||||
XDG_DATA_DIRS="/opt/foo/share:${XDG_DATA_DIRS}"
|
||||
fi
|
||||
|
||||
# write our output
|
||||
echo XDG_DATA_DIRS=$XDG_DATA_DIRS
|
||||
echo "XDG_DATA_DIRS=${XDG_DATA_DIRS}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user