From: Zbigniew Jędrzejewski-Szmek Date: Tue, 8 Jun 2021 07:06:11 +0000 (+0200) Subject: man/50-xdg-data-dirs: add quotes as suggested by shellcheck X-Git-Tag: v249-rc2~18^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa45911b793255bec34fe8c128c80bda1482cc14;p=thirdparty%2Fsystemd.git man/50-xdg-data-dirs: add quotes as suggested by shellcheck --- diff --git a/man/50-xdg-data-dirs.sh b/man/50-xdg-data-dirs.sh index 89e9fbb599b..ce062e394bf 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}"