From: Simon Ruderich Date: Sun, 3 Jun 2018 16:10:16 +0000 (+0200) Subject: lib.sh: add missing quotes X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=a5ac763c6afcfdf885da5fd9f06907981c9a127e;p=config%2Fdotfiles.git lib.sh: add missing quotes Found by shellcheck. --- diff --git a/lib.sh b/lib.sh index 6a61902..bb60c52 100644 --- a/lib.sh +++ b/lib.sh @@ -120,9 +120,9 @@ os() { echo debian elif test -f /etc/gentoo-release; then echo gentoo - elif test x`uname` = xSunOS; then + elif test x"`uname`" = xSunOS; then echo sun - elif test x`uname` = xFreeBSD; then + elif test x"`uname`" = xFreeBSD; then echo freebsd else echo 'unsupported OS!' >&2