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

This commit is contained in:
Dawid Potocki committed 2019-01-14 15:26:24 +13:00
1 parent 900d5813b6
commit 865b4f9b09
32 files changed
+32 -32

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ os="$(lsb_release -ds)"
kernel="$(uname -sr)"
uptime="$(uptime -p | sed 's/up //')"
packages="$(dpkg -l | wc -l)"
shell="$(basename ${SHELL})"
shell="$(basename "$SHELL")"
if [ -z "${WM}" ]; then
if [ "${XDG_CURRENT_DESKTOP}" ]; then