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="$(uname -sr)"
kernel="$(uname -v)"
uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')"
packages="$(ls -d /var/db/pkg/* | wc -l | sed -e 's/^[ \t]*//')"
shell="$(basename ${SHELL})"
shell="$(basename "$SHELL")"
if [ -z "${WM}" ]; then
if [ "${XDG_CURRENT_DESKTOP}" ]; then