Replace ${SHELL} with "$SHELL" to fix SC2086 (shellcheck)

This commit is contained in:
Dawid Potocki
2019-01-14 15:26:24 +13:00
parent 0a28c08868
commit bb61cf31a2
32 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ os="$(lsb_release -ds | tr -d \")"
kernel="$(uname -sr)"
uptime="$(uptime -p | sed 's/up //')"
packages="$(yum list installed | wc -l)"
shell="$(basename ${SHELL})"
shell="$(basename "$SHELL")"
if [ -z "${WM}" ]; then
if [ "${XDG_CURRENT_DESKTOP}" ]; then