1
1
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:
Zbigniew Jędrzejewski-Szmek 2021-06-08 09:06:11 +02:00
parent 3dabd7f816
commit 64e1ee80ea

View File

@ -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}"