diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-08 09:06:11 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-12 13:30:53 +0200 |
commit | 64e1ee80ea70394f85904d680ef16fd1467b1ca7 (patch) | |
tree | 78decebe31f8ef9b428874861eb74b0dda584b05 | |
parent | 3dabd7f816fa0465c08745ce76f459c4c2a7c3d5 (diff) | |
download | systemd-64e1ee80ea70394f85904d680ef16fd1467b1ca7.tar.gz |
man/50-xdg-data-dirs: add quotes as suggested by shellcheck
(cherry picked from commit aa45911b793255bec34fe8c128c80bda1482cc14)
-rwxr-xr-x | man/50-xdg-data-dirs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/50-xdg-data-dirs.sh b/man/50-xdg-data-dirs.sh index 89e9fbb599..ce062e394b 100755 --- a/man/50-xdg-data-dirs.sh +++ b/man/50-xdg-data-dirs.sh @@ -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}" |